# mistralclient.commands.v2.actions module

class mistralclient.commands.v2.actions.ActionFormatter

  Bases: `MistralFormatter`

  COLUMNS = [('id', 'ID'), ('name', 'Name'), ('is_system', 'Is system'), ('input', 'Input'), ('description', 'Description'), ('tags', 'Tags'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]
  static format(action=None, lister=False)

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

  Bases: `MistralLister`

  Create new action.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.actions.Create (WARNING)>

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

  Bases: `Command`

  Delete action.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

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

    Override to do something useful.

    The returned value will be returned by the program.

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

  Bases: `ShowOne`

  Show specific action.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

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

  Bases: `Command`

  Show action definition.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

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

    Override to do something useful.

    The returned value will be returned by the program.

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

  Bases: `MistralLister`

  List all actions.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

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

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

  Bases: `MistralLister`

  Update action.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.actions.Update (WARNING)>

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

  Bases: `ShowOne`

  Validate action.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.actions.Validate (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