-
Notifications
You must be signed in to change notification settings - Fork 18
Add SQLAlchemy ORM plugin tests #1235
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 all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
72457dc
Simple PG workflow working
aaron-congo 6cd61c7
Cleanup
aaron-congo bc607f6
Fix failover2 wrong writer host
aaron-congo 5daa970
Add mysql-connector SQLAlchemy ORM
jonathanl-bq 5ee014a
Revert connection string in sqlalchemy orm unit test
jonathanl-bq 4871ac7
Add __init__.py for sqlalchemy integration tests
jonathanl-bq 068e2e9
Fix RdsUtils not being found
jonathanl-bq f81b1db
Translate basic django test to sqlalchemy
jonathanl-bq a1ebf4c
Add basic CRUD test for sqlalchemy ORM mysql tests
jonathanl-bq f081a63
Add remaining basic MySQL SQLAlchemy ORM tests
jonathanl-bq 1b8d401
Remove temporary changes to get tests to run locally
jonathanl-bq 4429afd
Add license headers and remove unused import
jonathanl-bq 4f6500c
Try fixing mypy errors in tests
jonathanl-bq 9bd824f
Try to fix mypy Base class error
jonathanl-bq ee53f8c
fix: test failures due to using legacy sqlalchemy api (#1226)
karenc-bq 9f484bb
Add WIP sqlalchemy plugins tests
jonathanl-bq 0ab9c66
Fix multiple class definition errors
jonathanl-bq a64d748
Override initialize for mysql_orm_dialect.py
jonathanl-bq fa1f875
Fix most of the sqlalchemy ORM plugin tests
jonathanl-bq c981d2d
test: add clean up between tests (#1232)
karenc-bq 5c21749
Fix issue with plugins being shadowed by sqlalchemy create_engine
jonathanl-bq d5b2b82
Remove wrapper_plugins from opts after processing it
jonathanl-bq 79f990f
Merge branch 'sqlalchemy-orm-mysql' into sqlalchemy-orm-plugins
jonathanl-bq f955a9c
Try to fix mypy issues
jonathanl-bq c6958bc
Try fixing one mypy error
jonathanl-bq 1480c48
Fix syntax error
jonathanl-bq 0f9859d
Fix retrieved variable types
jonathanl-bq c75e9f7
Fix mypy error about row
jonathanl-bq 771b4b0
Try to fix mypy errors in mysql_orm_dialect.py
jonathanl-bq 7941fe0
Try to fix LSP violation errors
jonathanl-bq 159b6c3
Try to fix mypy error for missing errno field
jonathanl-bq 7e2bb1c
Fix last mypy error
jonathanl-bq edd4d02
Use err variable's errno property
jonathanl-bq 9f80c4e
Check errno property on correct type
jonathanl-bq f0d7d91
Address flake8 errors
jonathanl-bq cfebe5b
Add annotations import
jonathanl-bq b45cd27
Run isort
jonathanl-bq 88dfb8e
Run isort on tests
jonathanl-bq c999602
Move int cast for connect_timeout to fix unit tests
jonathanl-bq 9d2f642
Remove breakpoint call
jonathanl-bq 560e67c
Set supports_statement_cache flag
jonathanl-bq f186bb3
Check specific DBAPIErrors when failover happens
jonathanl-bq 3e6e164
Fix isort error
jonathanl-bq 5398a2b
Default to failover_v2 and remove prepare_connect_info
jonathanl-bq e97777c
Remove PG ORM dialect for now until we can test it later
jonathanl-bq dd2f122
Fix flake8 issues
jonathanl-bq 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
164 changes: 0 additions & 164 deletions
164
aws_advanced_python_wrapper/sqlalchemy/pg_orm_dialect.py
This file was deleted.
Oops, something went wrong.
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.