jobs
jobs
¶
Job control API endpoints.
Attributes¶
Classes¶
StartJobRequest
¶
Bases: BaseModel
Request to start a new job.
Functions¶
validate_config_source
¶
Validate that exactly one config source is provided.
Source code in src/marianne/dashboard/routes/jobs.py
JobActionResponse
¶
StartJobResponse
¶
Bases: BaseModel
Response from starting a job.
Functions¶
from_start_result
classmethod
¶
Create from JobStartResult.
Source code in src/marianne/dashboard/routes/jobs.py
Functions¶
start_job
async
¶
Start a new Marianne job execution via the conductor.
Supports both inline YAML config content or path to config file.
Source code in src/marianne/dashboard/routes/jobs.py
pause_job
async
¶
Pause a running job via the conductor.
Source code in src/marianne/dashboard/routes/jobs.py
resume_job
async
¶
Resume a paused job via the conductor.
Source code in src/marianne/dashboard/routes/jobs.py
cancel_job
async
¶
Cancel a running or paused job via the conductor.
Source code in src/marianne/dashboard/routes/jobs.py
delete_job
async
¶
Delete a terminal job record from the conductor registry.
Source code in src/marianne/dashboard/routes/jobs.py
get_sheet_details
async
¶
Get detailed sheet information for a specific job and sheet.
Source code in src/marianne/dashboard/routes/jobs.py
daemon_status
async
¶
Check if the Marianne conductor is running and get its status.