mistralclient.commands.v2.base module

class mistralclient.commands.v2.base.MistralExecutionLister(app, app_args, cmd_name=None)

Bases: mistralclient.commands.v2.base.MistralLister

get_parser(parsed_args)

Return an argparse.ArgumentParser.

log = <Logger mistralclient.commands.v2.base.MistralExecutionLister (WARNING)>
take_action(parsed_args)

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

class mistralclient.commands.v2.base.MistralFormatter

Bases: object

COLUMNS = []
classmethod fields()
static format(instance=None, lister=False)
classmethod format_list(instance=None)
classmethod headings()
class mistralclient.commands.v2.base.MistralLister(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Lister

get_parser(parsed_args)

Return an argparse.ArgumentParser.

log = <Logger mistralclient.commands.v2.base.MistralLister (WARNING)>
take_action(parsed_args)

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

mistralclient.commands.v2.base.cut(string, length=25)
mistralclient.commands.v2.base.get_filters(parsed_args)
mistralclient.commands.v2.base.wrap(string, width=25)