Skip to content

AsyncTaskStatus

Properties

Name Type Description Notes
task_id str the id of the async task
completed bool true if the task has completed (either successfully or with an error)
update_time datetime last time the task status was updated
error Error [optional]
status_code int an http status code that correlates with the underlying error if exists [optional]

Example

from lakefs_enterprise_sdk.models.async_task_status import AsyncTaskStatus

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

# convert the object into a dict
async_task_status_dict = async_task_status_instance.to_dict()
# create an instance of AsyncTaskStatus from a dict
async_task_status_form_dict = async_task_status.from_dict(async_task_status_dict)