congressclient.osc.v1.driver module

Driver action implemenations

class congressclient.osc.v1.driver.ListDrivers(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

List drivers.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <KeywordArgumentAdapter congressclient.osc.v1.driver.ListDrivers (WARNING)>
take_action(parsed_args)

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

class congressclient.osc.v1.driver.ShowDriverConfig(app, app_args, cmd_name=None)

Bases: cliff.show.ShowOne

List driver tables.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <KeywordArgumentAdapter congressclient.osc.v1.driver.ShowDriverConfig (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class congressclient.osc.v1.driver.ShowDriverSchema(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

List datasource tables.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <KeywordArgumentAdapter congressclient.osc.v1.driver.ShowDriverSchema (WARNING)>
take_action(parsed_args)

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