Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa55a6e

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 parent3cc9393 commitaa55a6e

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)

[8]ページ先頭

©2009-2025 Movatter.jp