Additional Clarity For databricks documentation needed
See original GitHub issueHello,
I’m trying to expand our team’s use of the Azure Python SDK to provision an Azure Databricks service. The docs here have gotten me started, but are not clear enough to explain how to create a workspace. @lmazuel was generous enough to offer some pointers on gitter, but I am still finding the docs unclear. I’ll paste a snippet from my latest code and error output below. If anyone can help provide an example or explanation, it would be very appreciated! Thanks!
client = DatabricksClient(credentials, subscription_id) workspace_obj = client.workspaces.get(“example_rg_name”, “example_databricks_workspace_name”) WorkspacesOperations.create_or_update( workspace_obj, “example_rg_name”, “example_databricks_workspace_name”, custom_headers=None, raw=False, polling=True, )
The error I get when I run this script:
TypeError: create_or_update() missing 1 required positional argument: 'workspace_name'
I’m a bit puzzled by that error as I’ve provided the workspace name as the third parameter, and according to this documentation, that’s just what this method requires.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (2 by maintainers)
Thanks @lmazuel !
Hi @mikebutak, since you haven’t asked that we “
/unresolve
” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve
” to reopen the issue.