# mistralclient.commands.v2.workflows module

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

  Bases: `MistralLister`

  Create new workflow.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

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

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

  Bases: `Command`

  Delete workflow.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

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

  Bases: `ShowOne`

  Show specific workflow.

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

  Bases: `Command`

  Show workflow definition.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

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

  Bases: `MistralLister`

  List all workflows.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

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

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

  Bases: `MistralLister`

  Update workflow.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

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

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

  Bases: `ShowOne`

  Validate workflow.

  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.workflows.WorkflowFormatter

  Bases: `MistralFormatter`

  COLUMNS = [('id', 'ID'), ('name', 'Name'), ('namespace', 'Namespace'), ('project_id', 'Project ID'), ('tags', 'Tags'), ('input', 'Input'), ('scope', 'Scope'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]
  static format(workflow=None, lister=False)

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