Skip to content

yggdrasil.databricks.job.loki

loki

Loki skills for the jobs service (dbc.jobs / dbc.job_runs).

A job is a scheduled/triggerable workflow of tasks; a job run is one execution of it. dbc.jobs lists jobs and triggers a run (returning the new run's id + URL); dbc.job_runs lists run history, optionally scoped to a job.

DatabricksJobsSkill

Bases: DatabricksServiceSkill

List jobs, or trigger a run of one by name/id (returns the new run).

available

available(agent: 'Loki') -> bool

True when this skill can run in agent's environment.

Default: available everywhere, unless :attr:requires names a backend that isn't detected. Override for finer checks.

DatabricksJobRunsSkill

Bases: DatabricksServiceSkill

List job-run history — across, or scoped to one job (active/completed).

available

available(agent: 'Loki') -> bool

True when this skill can run in agent's environment.

Default: available everywhere, unless :attr:requires names a backend that isn't detected. Override for finer checks.