# mistralclient.commands.v2.executions module

class mistralclient.commands.v2.executions.Create(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Create new execution.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.executions.Create (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class mistralclient.commands.v2.executions.Delete(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Delete execution.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.executions.Delete (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class mistralclient.commands.v2.executions.ExecutionFormatter

  Bases: `MistralFormatter`

  COLUMNS = [('id', 'ID'), ('workflow_id', 'Workflow ID'), ('workflow_name', 'Workflow name'), ('workflow_namespace', 'Workflow namespace'), ('description', 'Description'), ('task_execution_id', 'Task Execution ID'), ('root_execution_id', 'Root Execution ID'), ('state', 'State'), ('state_info', 'State info'), ('created_at', 'Created at'), ('updated_at', 'Updated at'), ('duration', 'Duration', True)]
  static format(wf_ex=None, lister=False)

class mistralclient.commands.v2.executions.Get(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Show specific execution.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.executions.Get (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class mistralclient.commands.v2.executions.GetInput(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Show execution input data.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.executions.GetInput (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class mistralclient.commands.v2.executions.GetOutput(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Show execution output data.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.executions.GetOutput (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class mistralclient.commands.v2.executions.GetPublished(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Show workflow global published variables.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.executions.GetPublished (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class mistralclient.commands.v2.executions.GetReport(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Print execution report.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.executions.GetReport (WARNING)>
  print_action_execution_entry(a_ex, level)
  print_line(line, level=0)
  print_report(report_json)
  print_statistics(stat)
  print_task_execution_entry(t_ex, level)
  print_workflow_execution_entry(wf_ex, level)
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class mistralclient.commands.v2.executions.List(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `MistralExecutionLister`

  List all executions.

  get_parser(parsed_args)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.executions.List (WARNING)>

class mistralclient.commands.v2.executions.SubExecutionsBaseLister(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class mistralclient.commands.v2.executions.SubExecutionsLister(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `SubExecutionsBaseLister`

class mistralclient.commands.v2.executions.Update(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Update execution.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.executions.Update (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

this page last updated: 2026-02-27 11:59:49

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug