We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 158ae61 commit 31acd2bCopy full SHA for 31acd2b
src/databricks/labs/ucx/install.py
@@ -102,6 +102,7 @@
102
103
import logging
104
from pathlib import Path
105
+from databricks.labs.blueprint.installation import Installation
106
from databricks.labs.blueprint.logger import install_logger
107
from databricks.labs.ucx.__about__ import __version__
108
from databricks.labs.ucx.config import WorkspaceConfig
@@ -110,7 +111,7 @@
110
111
install_logger()
112
logging.getLogger("databricks").setLevel("DEBUG")
113
-cfg = WorkspaceConfig.from_file(Path("/Workspace{config_file}"))
114
+cfg = Installation.load_local(WorkspaceConfig, Path("/Workspace{config_file}"))
115
ws = WorkspaceClient()
116
117
print(__version__)
0 commit comments