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. See JobsManager.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()

Get parameters for the job.

wait([timeout])

Wait for the job to complete.

Attributes

completed_executions_count

created_at

description

enqueued_by

execution_config

job_id

job_metadata

name

schedule

target_config

terminated_at