mistralclient.api.v2.tasks 模块¶
- class mistralclient.api.v2.tasks.TaskManager(http_client, enforce_raw_definitions=False)¶
基类:
ResourceManager- get(id)¶
- get_task_sub_executions(id, errors_only='', max_depth=-1)¶
- list(workflow_execution_id=None, marker='', limit=None, sort_keys='', sort_dirs='', fields=None, **filters)¶
这是一个抽象方法
此处添加是为了使 find 方法更清晰。子类必须实现它才能使 find 正常工作
- rerun(task_ex_id, reset=True, env=None)¶