-
Notifications
You must be signed in to change notification settings - Fork 590
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
CLN: Unify database methods in SQLAlchemy backends #2862
CLN: Unify database methods in SQLAlchemy backends #2862
Conversation
|
can you rebase. note I am not sure if these are really tested that well. |
|
|
|
||
| def list_schemas(self): | ||
| warnings.warn( | ||
| '`list_schemas` is deprecated, use `list_databases` instead', |
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.
can you add a test for this. Also we should create an issue with deprecations as a reminder to remove them.
|
looks fine can you rebase |
Moving duplicated methods from SQLAlchemy backends to base alchemy backend.
For
list_databasesandlist_schemas, they do the same thing (in different ways) except for postgres. In all other backendslist_databasesis used, solist_schemasis deprecated everywhere except in postgres.