1. 学习
  2. /
  3. 课程
  4. /
  5. Databricks with the Python SDK

Connected

练习

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.

说明

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.