Skip to content

Commit e3f3a6f

Browse files
authored
Add pkgutil-style for the package (#84)
Since the package is under databricks namespace. pip install this package will cause issue importing other packages under the same namespace like automl and feature store. Adding pkgutil style to resolve the issue. Signed-off-by: lu-wang-dl <[email protected]>
1 parent 7cb75db commit e3f3a6f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/databricks/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages
2+
# This file should only contain the following line. Otherwise other sub-packages databricks.* namespace
3+
# may not be importable.
4+
__path__ = __import__("pkgutil").extend_path(__path__, __name__)

0 commit comments

Comments
 (0)