runtraj.execution.Backend.jobs#

Backend.jobs(project, execution)[source]#

Return the project’s jobs for runtraj status, oldest first, or None when it lists none.

Each job is a dict with name, state, reason, created, tasks, done, failed, failed_tasks and running (runtraj.execution.kubernetes.job_summary()).

Raises:

SchedulerError – When the jobs cannot be listed; runtraj status prints the message and the counts.

Return type:

list[dict[str, Any]] | None

Parameters: