Skip to content
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

Dialect: Fix get_table_names() reflection method #10

Merged
merged 3 commits into from
Jun 13, 2024
Merged

Conversation

amotl
Copy link
Member

@amotl amotl commented Dec 22, 2023

About

The get_table_names() reflection method did not respect the schema query argument in SQLAlchemy connection URLs.
This improvement has been used successfully on a few downstream projects and is known as the inspector patch. This patch brings it to mainline.

References

Backlog

CHANGES.md Outdated Show resolved Hide resolved
@amotl amotl changed the title Fix get_table_names() reflection method Dialect: Fix get_table_names() reflection method Jan 15, 2024
@codecov-commenter
Copy link

codecov-commenter commented Feb 12, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@surister
Copy link
Contributor

surister commented Mar 19, 2024

This item is reviewed and the missing things done, we can merge it @amotl

@amotl
Copy link
Member Author

amotl commented Mar 20, 2024

This item is reviewed and the missing things done, we can merge it.

Excellent. Thank you very much. Please note it is a stacked PR, so others need to be merged first, or the branch needs to be set up differently. Otherwise, it will cause a mess at GH-9.

@amotl amotl force-pushed the amo/type-float-vector branch 14 times, most recently from 0f85790 to 20443d2 Compare June 10, 2024 10:33
@amotl amotl force-pushed the amo/fix-inspector branch 2 times, most recently from 632ca49 to 8d8e732 Compare June 10, 2024 11:02
@amotl

This comment was marked as resolved.

@amotl amotl requested review from surister and seut and removed request for hammerhead June 10, 2024 12:36
@amotl amotl marked this pull request as ready for review June 10, 2024 12:37
@amotl amotl force-pushed the amo/type-float-vector branch 2 times, most recently from 9557d1c to 36d8b3d Compare June 13, 2024 14:19
Base automatically changed from amo/type-float-vector to main June 13, 2024 14:19
amotl and others added 2 commits June 13, 2024 16:23
…gument

It did not respect the `schema` query argument in SQLAlchemy connection
URLs.

Co-authored-by: Marios Trivyzas <[email protected]>
@amotl amotl force-pushed the amo/fix-inspector branch 2 times, most recently from 9020756 to 6ac0a22 Compare June 13, 2024 14:28
tests/datetime_test.py Fixed Show fixed Hide fixed
tests/dict_test.py Fixed Show fixed Hide fixed
tests/insert_from_select_test.py Fixed Show fixed Hide fixed
tests/update_test.py Fixed Show fixed Hide fixed
We don't know which circumstances cause this problem. SQLAlchemy 1.3 is
EOL anyway, so we don't care too much.

sqlalchemy.exc.InvalidRequestError: When initializing mapper mapped
class RootStore->root, expression 'ItemStore' failed to locate a name
('ItemStore').
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants