Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.23 KB

File metadata and controls

35 lines (26 loc) · 1.23 KB

CreateCronRequest

Request body for creating a cron schedule.

Properties

Name Type Description Notes
config JobConfig [optional]
cron_expr str 5-field crontab (UTC); 6/7 fields with leading seconds also accepted.
name str Unique per tenant.
payload Dict[str, object] [optional]
queue str [optional]
task_name str

Example

from queueflow.models.create_cron_request import CreateCronRequest

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

# convert the object into a dict
create_cron_request_dict = create_cron_request_instance.to_dict()
# create an instance of CreateCronRequest from a dict
create_cron_request_from_dict = CreateCronRequest.from_dict(create_cron_request_dict)

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