singlestoredb.management.job.Job¶
- class singlestoredb.management.job.Job(completed_executions_count: int, created_at: datetime, description: str | None, enqueued_by: str, execution_config: ExecutionConfig, job_id: str, job_metadata: List[JobMetadata], name: str | None, schedule: Schedule, target_config: TargetConfig | None, terminated_at: datetime | None)¶
Scheduled Notebook Job definition.
This object is not directly instantiated. It is used in results of API calls on the
JobsManager. SeeJobsManager.run().- __init__(completed_executions_count: int, created_at: datetime, description: str | None, enqueued_by: str, execution_config: ExecutionConfig, job_id: str, job_metadata: List[JobMetadata], name: str | None, schedule: Schedule, target_config: TargetConfig | None, terminated_at: datetime | None)¶
Methods
__init__(completed_executions_count, ...)delete()Delete the job.
from_dict(obj, manager)Construct a Job from a dictionary of values.
get_executions(start_execution_number, ...)Get executions for the job.
Get parameters for the job.
wait([timeout])Wait for the job to complete.
Attributes
completed_executions_countcreated_atdescriptionenqueued_byexecution_configjob_idjob_metadatanamescheduletarget_configterminated_at