Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.53 KB

File metadata and controls

43 lines (34 loc) · 1.53 KB

Task

Properties

Name Type Description Notes
message_id UUID [optional]
queue_name str Queue name [optional]
actor_name str Dramatiq actor name
state TaskStateEnum Task status [optional]
mtime datetime Task last modified time [optional]
retries int Number of retries [optional]
eta datetime Planned execution time [optional]
rel_obj_app_label str [readonly]
rel_obj_model str [readonly]
rel_obj_id str [optional]
uid str [readonly]
logs List[LogEvent] [readonly]
previous_logs List[LogEvent] [readonly]
aggregated_status TaskAggregatedStatusEnum
description str [readonly]

Example

from authentik_client.models.task import Task

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

# convert the object into a dict
task_dict = task_instance.to_dict()
# create an instance of Task from a dict
task_from_dict = Task.from_dict(task_dict)

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