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

apply_driver_hacks: dialect+driver URI syntax fails #48

Closed
lassic opened this issue Aug 28, 2011 · 0 comments
Closed

apply_driver_hacks: dialect+driver URI syntax fails #48

lassic opened this issue Aug 28, 2011 · 0 comments

Comments

@lassic
Copy link

lassic commented Aug 28, 2011

(sqlalchemy.py)
def apply_driver_hacks(self, app, info, options):
if info.drivername == 'mysql':

This fails to recognize URIs like 'mysql+pymsql://...'
I guess it should check 'contains mysql' or even a regex check like '^mysql+'.

Thanks.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants