Skip to content

Commit f02bf2d

Browse files
committed
Fix workbench. Do Databricks credential loading during init instead of during import
1 parent 3d0e55b commit f02bf2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/posit/connect/external/databricks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def __call__(self) -> Dict[str, str]:
8787
class WorkbenchStrategy(CredentialsStrategy):
8888
"""
8989
"""
90-
def __init__(self, config: Config = Config(profile="workbench")):
91-
self._config = config
90+
def __init__(self, config: Config):
91+
self._config = config or Config("workbench")
9292

9393
def auth_type(self) -> str:
9494
return POSIT_WORKBENCH_AUTH_TYPE

0 commit comments

Comments
 (0)