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
Guard default_profile against env auth in databricks api
The no---profile branch in `databricks api` pinned
[__settings__].default_profile unconditionally, so a conflicting default
profile could be merged with env auth (DATABRICKS_HOST/DATABRICKS_TOKEN),
failing with "more than one authorization method configured" (the #5616
class already fixed for MustWorkspaceClient).
Share the guard: export resolveDefaultProfile as ResolveDefaultProfile and
call it from cmd/api, so the default profile is skipped when DATABRICKS_HOST
is set. Adds an acceptance case with env PAT + conflicting default_profile.
0 commit comments