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 wrongly delegated import_dbapi method #93

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

potiuk
Copy link
Contributor

@potiuk potiuk commented Feb 25, 2025

The import_dbapi method should be called on DrillDialect_sadrill class not the compiler one.

Fixes: #92

Copy link

@bugraoz93 bugraoz93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

Copy link
Collaborator

@cgivre cgivre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution! Can you please update the minor version and I'll publish the new version ASAP.

@potiuk potiuk force-pushed the fix-import-dbapi-error branch from 0931ada to b7bf2ae Compare February 25, 2025 20:39
@potiuk
Copy link
Contributor Author

potiuk commented Feb 25, 2025

Thanks for the contribution! Can you please update the minor version and I'll publish the new version ASAP.

Updated

Copy link
Collaborator

@cgivre cgivre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry..there's one more location in the setup.py.

The import_dbapi method should be called on DrillDialect_sadrill
class not the compiler one.

Fixes: JohnOmernik#92
@potiuk potiuk force-pushed the fix-import-dbapi-error branch from b7bf2ae to fa5c137 Compare February 25, 2025 20:43
@potiuk
Copy link
Contributor Author

potiuk commented Feb 25, 2025

Ah... Fixed

Copy link
Collaborator

@cgivre cgivre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1

@cgivre cgivre merged commit fe743e6 into JohnOmernik:master Feb 25, 2025
1 check passed
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.

In the sqlalchemy-drii 1.1.6 DrillDialect_sadril the dbapi() class method is broken
3 participants