8000 fix: Fixes for reflection in `SQLAlchemy` 2.0 by akshay-ctxl · Pull Request #314 · sqlalchemy-redshift/sqlalchemy-redshift · GitHub
[go: up one dir, main page]

Skip to content

fix: Fixes for reflection in SQLAlchemy 2.0 #314

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

akshay-ctxl
Copy link

This PR builds on this work done (open PR) adding support for SQLAlchemy 2.0 to make reflection work.

  • Specifically, this PR copies 2 private functions _load_domains from _get_column_info from PGDailect from SQLAlchemy 1.4 release.
  • Maps the 2.0 multi method for fetching objects to use fallback to single object methods in 1.4 and upstream redshift engine.

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.

2 participants
0