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

sqlalchemy.utils.decorators.parse_bind assumes bind is a Engine #61

Closed
azatoth opened this issue May 22, 2018 · 3 comments
Closed

sqlalchemy.utils.decorators.parse_bind assumes bind is a Engine #61

azatoth opened this issue May 22, 2018 · 3 comments
Labels

Comments

@azatoth
Copy link

azatoth commented May 22, 2018

When you create a session in sqlalchemy the bind parameter can be either a Engine or a Connection, but if a Connection is used parse_bind will break.

@azatoth azatoth changed the title sqlalchemy.utils.decorators.parse_bind assumes bind is a Engine sqlalchemy.utils.decorators.parse_bind assumes bind is a Engine May 22, 2018
@haotianw465
Copy link
Contributor

Hi,

Thank you for reporting the issue. We will look into the correct fix. In the meantime a PR is always welcome.

@bharling
Copy link
Contributor

+1

@haotianw465
Copy link
Contributor

Fixing PR is released as part of 2.0.0. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants