2025-12-01

This commit is contained in:
2026-03-17 14:58:51 -06:00
parent 183e865f8b
commit 4b82b57113
6846 changed files with 954887 additions and 162606 deletions
@@ -32,9 +32,11 @@ from flamenco.manager.exceptions import ApiAttributeError
def lazy_import():
from flamenco.manager.model.task_status import TaskStatus
from flamenco.manager.model.task_summary import TaskSummary
from flamenco.manager.model.task_worker import TaskWorker
from flamenco.manager.model.worker_task_all_of import WorkerTaskAllOf
globals()['TaskStatus'] = TaskStatus
globals()['TaskSummary'] = TaskSummary
globals()['TaskWorker'] = TaskWorker
globals()['WorkerTaskAllOf'] = WorkerTaskAllOf
@@ -98,7 +100,10 @@ class WorkerTask(ModelComposed):
'priority': (int,), # noqa: E501
'task_type': (str,), # noqa: E501
'updated': (datetime,), # noqa: E501
'steps_completed': (int,), # noqa: E501
'steps_total': (int,), # noqa: E501
'job_id': (str,), # noqa: E501
'worker': (TaskWorker,), # noqa: E501
}
@cached_property
@@ -114,7 +119,10 @@ class WorkerTask(ModelComposed):
'priority': 'priority', # noqa: E501
'task_type': 'task_type', # noqa: E501
'updated': 'updated', # noqa: E501
'steps_completed': 'steps_completed', # noqa: E501
'steps_total': 'steps_total', # noqa: E501
'job_id': 'job_id', # noqa: E501
'worker': 'worker', # noqa: E501
}
read_only_vars = {
@@ -133,6 +141,8 @@ class WorkerTask(ModelComposed):
priority (int):
task_type (str):
updated (datetime):
steps_completed (int):
steps_total (int):
job_id (str):
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
@@ -164,6 +174,7 @@ class WorkerTask(ModelComposed):
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
worker (TaskWorker): [optional] # noqa: E501
"""
_check_type = kwargs.pop('_check_type', True)
@@ -240,6 +251,8 @@ class WorkerTask(ModelComposed):
priority (int):
task_type (str):
updated (datetime):
steps_completed (int):
steps_total (int):
job_id (str):
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
@@ -271,6 +284,7 @@ class WorkerTask(ModelComposed):
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
worker (TaskWorker): [optional] # noqa: E501
"""
_check_type = kwargs.pop('_check_type', True)