Ask Your Question
3

Why is there a TypeError indicating that the keyword argument 'app' was unexpected in SQLAlchemy.create_all()?

asked 2023-06-10 22:38:52 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-06-10 22:45:01 +0000

david gravatar image

There could be several reasons why a TypeError is indicating that the keyword argument 'app' was unexpected in SQLAlchemy.createall(). One possible reason is that the version of SQLAlchemy being used does not support the 'app' keyword argument. Another possible reason is that the method being called is not the createall() method of the SQLAlchemy package, but rather a similarly named method in a different package or module that does not accept the 'app' keyword argument. It's also possible that a typo or other mistake in the code is causing the error to be raised.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-10 22:38:52 +0000

Seen: 9 times

Last updated: Jun 10 '23