ExtendedJob

class ExtendedJob[source]

The extended JSON serialization of a job.

name: str

The name of the job.

kwargs: Mapping[str, Any]

The kwargs given to the job.

try_n: int

The current try of the job.

eta: datetime

The time the job should be executed.

traceback: str | None

Possibly the traceback of the job. Only not null when the job failed.

id: str

The id of the job. Can be used to revoke and/or restart it.

state: TaskResultState

The state of the job.

result: Any | None

Possibly the result of the job.