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 <lu.wang@databricks.com>
1 parent 7cb75db commit e3f3a6f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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)