Skip to content

Use the sdk from within databricks? #153

@btglau

Description

@btglau

Hello,

I am looking for the simplest to automate submitting a large amount of jobs. I see that databricks_cli https://docs.databricks.com/dev-tools/cli/index.html does not seem to be in active development, so I am looking at this project as a solution for automation.

I would like to be able to run this sdk from within my databricks workspace, but when I try the example https://docs.databricks.com/dev-tools/sdk-python.html#get-started-with-the-databricks-sdk-for-python, I get the error message default auth: cannot configure default credentials

I assume that is because databricks-sdk-py is unaware that I am running from within my databricks workspace. My question is, is there a way to make the module recognize that and assume my credentials?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions