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

[fix] import _ColumnEntity error (SQLAlchemy 1.4 support) #482

Closed
wants to merge 1 commit into from

Conversation

ecarrara
Copy link

As pointed by @jace _ColumnEntity was moved from sqlalchemy.orm.query to sqlalchemy.orm.context.

This PR changes the code to import _ColumnEntity from sqlalchemy.orm.context first, and fallback to the old location if an ImportError occours.

@iambibhas
Copy link

Something else is breaking.

@iambibhas
Copy link

This PR has tons of styling changes. I dont think it should. Follow the repo's style guide and just push the required change.

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.

3 participants