# mistralclient.commands.v2.action_executions module

class mistralclient.commands.v2.action_executions.ActionExecutionFormatter

  Bases: `MistralFormatter`

  COLUMNS = [('id', 'ID'), ('name', 'Name'), ('workflow_name', 'Workflow name'), ('workflow_namespace', 'Workflow namespace'), ('task_name', 'Task name'), ('task_execution_id', 'Task ID'), ('state', 'State'), ('state_info', 'State info'), ('accepted', 'Accepted'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]
  LIST_COLUMN_FIELD_NAMES = ['id', 'name', 'workflow_name', 'workflow_namespace', 'task_name', 'task_execution_id', 'state', 'accepted', 'created_at', 'updated_at']
  LIST_COLUMN_HEADING_NAMES = ['ID', 'Name', 'Workflow name', 'Workflow namespace', 'Task name', 'Task ID', 'State', 'Accepted', 'Created at', 'Updated at']
  static format(action_ex=None, lister=False)

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

  Bases: `ShowOne`

  Create new Action execution or just run specific action.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.action_executions.Create (WARNING)>
  produce_output(parsed_args, column_names, data)

    Use the formatter to generate the output.

    Parameters:

      - parsed_args – argparse.Namespace instance with argument values

      - column_names – sequence of strings containing names of output columns

      - data – iterable with values matching the column names

    Returns:

      a status code

  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.action_executions.Delete(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Delete action execution.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.action_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.action_executions.Get(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Show specific Action execution.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.action_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.action_executions.GetInput(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Show Action execution input data.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.action_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.action_executions.GetOutput(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Show Action execution output data.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.action_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.action_executions.List(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `MistralExecutionLister`

  List all Action executions.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

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

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

  Bases: `ShowOne`

  Update specific Action execution.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.action_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-03-26 21:31:21

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