1. Learn
  2. /
  3. Cursuri
  4. /
  5. Databricks with the Python SDK

Connected

exercițiu

Listing Databricks jobs

Now, we will list the Databricks jobs that have been created in our workspace. The WorkspaceClient jobs API exposes a .list() method that can be used to list all jobs in the authenticated workspace.

Instrucțiuni

100 XP
  • Retrieve all jobs in the workspace using the WorkspaceClient.
  • Iterate through up to 10 jobs and print each job's job_id attribute.