peertube_python_api/docs/RunnerJob.md
2024-01-14 12:30:33 +02:00

1.7 KiB

RunnerJob

Properties

Name Type Description Notes
uuid str [optional]
type RunnerJobType [optional]
state RunnerJobStateConstant [optional]
payload RunnerJobPayload [optional]
failures int Number of times a remote runner failed to process this job. After too many failures, the job in "error" state [optional]
error str Error message if the job is errored [optional]
progress int Percentage progress [optional]
priority int Job priority (less has more priority) [optional]
updated_at datetime [optional]
created_at datetime [optional]
started_at datetime [optional]
finished_at datetime [optional]
parent RunnerJobParent [optional]
runner RunnerJobRunner [optional]

Example

from peertube.models.runner_job import RunnerJob

# TODO update the JSON string below
json = "{}"
# create an instance of RunnerJob from a JSON string
runner_job_instance = RunnerJob.from_json(json)
# print the JSON string representation of the object
print RunnerJob.to_json()

# convert the object into a dict
runner_job_dict = runner_job_instance.to_dict()
# create an instance of RunnerJob from a dict
runner_job_form_dict = runner_job.from_dict(runner_job_dict)

[Back to Model list] [Back to API list] [Back to README]