espnet3.bin.atlas.core.models.JobRecord
About 1 min
espnet3.bin.atlas.core.models.JobRecord
class espnet3.bin.atlas.core.models.JobRecord(job_id: str, study_id: str, trial_id: str | None, node_run_id: str | None, backend: str, external_id: str | None, status: str, command_json: str, resources_json: str | None, workdir: str | None, stdout_path: str | None, stderr_path: str | None, job_type: str, created_at: str, updated_at: str)
Bases: object
One row of a submitted job’s persistent record (Slurm or local process).
- Parameters:
- job_id – Atlas-assigned id for this job.
- study_id – Study the job belongs to.
- trial_id – Trial the job is running, or
Nonefor a study-level job (such as a controller tick). - node_run_id – Graph node run the job executes, or
None. - backend – Submission backend, e.g.
"slurm"or"local". - external_id – Backend-native job id (e.g. the Slurm job id), or
Nonebefore submission completes. - status – Job status such as
"pending","running","completed","failed". - command_json – JSON-encoded command argv that was submitted.
- resources_json – JSON-encoded
Resourcesrequested, orNone. - workdir – Working directory the job runs in, or
None. - stdout_path – Path the job’s stdout is redirected to, or
None. - stderr_path – Path the job’s stderr is redirected to, or
None. - job_type – Kind of job, e.g.
"node"or"tick"(controller). - created_at – ISO-8601 UTC timestamp the job record was created.
- updated_at – ISO-8601 UTC timestamp of the last status change.
backend : str
command_json : str
created_at : str
external_id : str | None
job_id : str
job_type : str
node_run_id : str | None
resources_json : str | None
status : str
stderr_path : str | None
stdout_path : str | None
study_id : str
trial_id : str | None
updated_at : str
workdir : str | None
