Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.25 KB

File metadata and controls

32 lines (23 loc) · 1.25 KB

CreateJobRequest

Properties

Name Type Description Notes
config JobConfigRequest [optional]
payload Dict[str, object] Arbitrary JSON object passed to the handler. [optional]
run_at datetime Don't run before this instant (RFC 3339). The job is created immediately but stays invisible to workers until then. [optional]
task_name str The registered task handler to invoke.

Example

from queueflow.models.create_job_request import CreateJobRequest

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

# convert the object into a dict
create_job_request_dict = create_job_request_instance.to_dict()
# create an instance of CreateJobRequest from a dict
create_job_request_from_dict = CreateJobRequest.from_dict(create_job_request_dict)

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