databricks-sdk-py icon indicating copy to clipboard operation
databricks-sdk-py copied to clipboard

[FEATURE] Get host of Workspaces via AccountClient

Open schmocker opened this issue 6 months ago • 0 comments

Problem Statement When I use AccountClient to retrieve information about existing workspaces, I'm expecting that the host of these workspaces in included in the information like this:

ac = AccountClient()
ws = ac.workspaces.get('some_id')
print(ws.databricks_host) -> Error

Proposed Solution

  • return host when using databricks account api or databricks sdk AccountClient
  • update API documentation, see context below

Additional Context

  • https://docs.databricks.com/api/azure/account/workspaces/get, docu for azure not found, even though the api works
  • ⁠https://docs.databricks.com/api/account/workspaces/get, docu found for AWS
  • workspace api does not return the host of workspaces !? 😢
  • also databricks sdk not returning host: https://github.com/databricks/databricks-sdk-py/blob/42e19fa3ca2456112b2958efaf725c9c4d6f040f/databricks/sdk/service/provisioning.py#L1401

schmocker avatar Jul 29 '25 13:07 schmocker