-
Notifications
You must be signed in to change notification settings - Fork 624
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
Add support for SQLAlchemy 1.4 #568
Merged
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
57e182a
test removing thread specific logic. upgrade to sqlalchemy ~1.4
mnbbrown 8d58c2b
wip
mnbbrown 51c53ff
add _span to sqlalchemy execution context instead of maintaining mapping
mnbbrown 3d4087c
account for add_all optimisations in sqlalchemy 1.4
mnbbrown 4a723bb
update docstring
mnbbrown 5ade34e
add tests for async. fix black issues
mnbbrown ee58049
lint fixes
mnbbrown c034e9f
run tox -e generate
mnbbrown 0eabf8e
use pytest mark to skip tests. fix work directory for sqlalchemy tests
mnbbrown 83937c0
fix lint issues
mnbbrown 9164d9d
address pylint
mnbbrown b51e4f1
fix linter issues + generate
mnbbrown 07b2f2b
remove IsolatedAsyncioTestCase as not supported in python < 3.8
mnbbrown f1985f6
update CHANGELOG
mnbbrown ae8ce9b
address PR comments
mnbbrown 3a7c84d
add comment about execute_values for psycopg2 dialect
mnbbrown 5e38f5a
use SQLAlchemy 1.1 for tests
mnbbrown 83e0e4f
remove gen file
mnbbrown 125de32
use packaging to test versions
mnbbrown daadcec
Merge branch 'main' into sqlalchemy-14
mnbbrown 62cbe6d
Merge branch 'main' into sqlalchemy-14
srikanthccv 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 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 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 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 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 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 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
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.
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.
why did this change in this PR? Can we document the difference between vendors as a comment?
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.
Added a comment. It's an optimisation that's enabled by default in 1.4 See https://docs.sqlalchemy.org/en/14/changelog/migration_14.html#orm-batch-inserts-with-psycopg2-now-batch-statements-with-returning-in-most-cases