-
-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update example for latest version of SQLAlchemy #2011
Update example for latest version of SQLAlchemy #2011
Conversation
@FelixSchwarz please review and comment! |
8430e1a
to
2afd62b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DId a quick check and seems to work fine for me. Tbh, no too familiar with SQLAlchemy but judging from the link and documentation this seems to be the correct way to achieve this. Anything specific you'd like to get a 2nd pair of eyes on to double check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me as well. The delete should be fixed, the rest is mostly personal preference.
Pass argument that disables SQLite thread check when creating the engine Revise request-processing functions to use a database session context Drop TODO from the example README
2afd62b
to
c3fd66f
Compare
Thanks @Ruwann and @FelixSchwarz for the comments. New version pushed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @chrisinmtown and @FelixSchwarz !
Pass argument that disables SQLite thread check when creating the engine
Revise request-processing functions to work within a database session context
Drop TODO from the example README