databricks-sql-python
databricks-sql-python copied to clipboard
"Export" `DatabricksDialect` from `databricks.sqlalchemy`
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
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
@kravets-levko any updates here?