You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In trying to create an app that can run seamlessly locally, in Posit Workbench, and in Posit Connect, I have the following setup to configure my WorkspaceClient:
However, when I try to create the WorkSpace client, I get this error:
ValueError: resolve: /Users/jamesblair/.databrickscfg has no workbench profile configured. Config: profile=workbench
File [~/Documents/Posit/repos/data-and-ai-summit-2025/.venv/lib/python3.11/site-packages/databricks/sdk/config.py:182](vscode-file://vscode-app/Applications/Positron.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html#), in Config.__init__(self, credentials_provider, credentials_strategy, product, product_version, clock, **kwargs)
181 self._load_from_env()
--> 182 self._known_file_config_loader()
183 self._fix_host_if_needed()
Show Traceback
My expectation would be that WorkbenchStrategy() doesn't require a workbench profile unless it's the strategy that will be used. In the case of my local environment, I want to use databricks_cli as my strategy.
The text was updated successfully, but these errors were encountered:
In trying to create an app that can run seamlessly locally, in Posit Workbench, and in Posit Connect, I have the following setup to configure my
WorkspaceClient
:However, when I try to create the WorkSpace client, I get this error:
My expectation would be that
WorkbenchStrategy()
doesn't require aworkbench
profile unless it's the strategy that will be used. In the case of my local environment, I want to usedatabricks_cli
as my strategy.The text was updated successfully, but these errors were encountered: