question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Additional Clarity For databricks documentation needed

See original GitHub issue

Hello,

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:closed
  • Created 3 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mikebutakcommented, Jul 20, 2020

Thanks @lmazuel !

0reactions
msftbot[bot]commented, Dec 22, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Learn - Databricks
With our online resources, training and certification, product documentation, active community and much more, start building with Databricks.
Read more >
Unit testing for notebooks | Databricks on AWS
Learn how to apply techniques and frameworks for unit testing code functions for your Databricks notebooks.
Read more >
Master Cloud Services Agreement - Databricks
This Master Cloud Services Agreement (the “MCSA”) is entered into as of the Effective Date between Databricks, Inc. (“Databricks” or “we”) ...
Read more >
Databricks SQL CLI
Requirements; Install the Databricks SQL CLI; Authentication; Query sources; Additional resources. Requirements. At least one Databricks SQL ...
Read more >
Connect to dbt Core | Databricks on AWS
dbt supports collaborative coding patterns and best practices such as version control, documentation, modularity, and more. For more information ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found