-
Notifications
You must be signed in to change notification settings - Fork 6
feat: Use psycopg2 for Connection Pooling and Implement Global Engine with Context Manager for Session Management #837
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
c6331ea
removed global_session
qcdyx 215046a
updated batch-datasets cloud functions
qcdyx fb25b98
updated batch-process-datasets cloud functions
qcdyx 3e3f1b2
modified extract_location
qcdyx c5d4c35
applied psycopg2 connection pooling
qcdyx 130092a
code refactoring: implemented a with_db_session decorator to streamli…
qcdyx 099cae4
removed SHOULD_CLOSE_DB_SESSION environment variable
qcdyx 0092299
used with_db_session decorator to manage session in GCP functions
qcdyx edd6665
refactored cloud functions db session management
qcdyx 0ccb413
fixed test
qcdyx 82aaef6
more refactoring
qcdyx a8a62b0
updated FEEDS_DATABASE_URL
qcdyx aba9808
Merge branch 'main' into 293-Psycopg
qcdyx bae94e0
cleanup
qcdyx 94884ae
fixed broken tests
qcdyx 6662557
Merge branch 'main' into 293-Psycopg
qcdyx 111b29e
fixed lint errors
qcdyx 88c0528
Merge branch 'main' into 293-Psycopg
qcdyx 996298c
resolved PR comments
qcdyx d1f7a4b
lint error fixes
qcdyx 5707126
Merge branch 'main' into 293-Psycopg
qcdyx ecbd755
skip the test geocoding
qcdyx df0c70e
added pytest import
qcdyx f5d5d80
temporarily change coverage threshold to 80
qcdyx 65962ea
added back await and use the with statement, no @with_db_session
qcdyx 48a242e
used with statement
qcdyx b95e99b
fixed lint errors
qcdyx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.