From 84c5642a7a1781c4322305afb899330905e5a637 Mon Sep 17 00:00:00 2001 From: lu-wang-dl Date: Thu, 19 Jan 2023 14:17:42 -0800 Subject: [PATCH] add pkgutil-style Signed-off-by: lu-wang-dl --- src/databricks/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/databricks/__init__.py b/src/databricks/__init__.py index e69de29bb..2c691f3ae 100644 --- a/src/databricks/__init__.py +++ b/src/databricks/__init__.py @@ -0,0 +1,4 @@ +# https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages +# This file should only contain the following line. Otherwise other sub-packages databricks.* namespace +# may not be importable. +__path__ = __import__("pkgutil").extend_path(__path__, __name__)