CriticalErrors(args)
A C function can cause more than one error; all these are combined into a single Python exception. The main purpose of the exception is to aid debugging, usually by providing a nice Python traceback.
column_names(prop_list)
default_table_args(set_dict={})
get(properties, data, *table_args)
get_table_arg_value(arg, table_values)
-verbose
flag.
The arg argument specifies the argument to fetch the
value of. The table_values argument is the tuple of table
arguments received in the table.new_table_command()
callback function.new_table_command(command_name, cmd_func, args = None, doc = "", sortable_columns = None, **kwargs)
All arguments here are similar to the cli.new_command() function except the sortable_columns argument.
The cmd_func function will be called with additional table argument last. The function should use the table.show() to produce the table output according to the user arguments.
If the sortable_columns argument is supplied, it should contain a list of the column namnes which can be used for sorting. This is only used for the expander function. If this argument is not set, the default expander will try to use the table interface to retrieve the column names.
show(properties, data, *table_args)
table
interface for more information.
The *table_args argument represents the standard table arguments, received last in the table.new_table_command() callback function.