mistralclient.api.v2.executions 模块

class mistralclient.api.v2.executions.Execution(manager, data)

基类: Resource

resource_name = 'Execution'
class mistralclient.api.v2.executions.ExecutionManager(http_client, enforce_raw_definitions=False)

基类: ResourceManager

create(wf_identifier='', namespace='', workflow_input=None, description='', source_execution_id=None, **params)
delete(id, force=None)
get(id)
get_ex_sub_executions(id, errors_only='', max_depth=-1)
get_report(id, errors_only=True, max_depth=None, statistics_only=False)
list(task=None, marker='', limit=None, sort_keys='', sort_dirs='', fields='', **filters)

这是一个抽象方法

此处添加是为了使 find 方法更清晰。子类必须实现它才能使 find 正常工作

resource_class

Execution 的别名

update(id, state, description=None, env=None)