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

"Export" DatabricksDialect from databricks.sqlalchemy #442

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kilo59
Copy link

@Kilo59 Kilo59 commented Sep 17, 2024

Although python doesn't really have an "Export/Re-export" command, type checkers like mypy will warn if an imported object isn't part of module's __all__ list.

https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-reexport

With the ☝️ above rule enabled the following code will result in a mypy warning. With my proposed change, this will go away.

from databricks.sqlalchemy import DatabricksDialect

@kravets-levko
Copy link
Contributor

Thank you @Kilo59! Your change seems good. We currently have a code freeze due to some refactoring, but after that I'll merge your PR, and it will become available with the next release

@Kilo59
Copy link
Author

Kilo59 commented Dec 18, 2024

@kravets-levko any updates here?

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