Skip to content

Commit 7e46c89

Browse files
lu-wang-dlsaishreeeee
authored andcommitted
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]> Signed-off-by: Sai Shree Pradhan <[email protected]>
1 parent 37d5454 commit 7e46c89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/databricks/__init__.py

Lines changed: 4 additions & 0 deletions
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)