The osc_lib.cli.format_columns Module

The osc_lib.cli.format_columns Module

Formattable column for specify content type

class osc_lib.cli.format_columns.DictColumn(value)

Bases: cliff.columns.FormattableColumn

Format column for dict content

human_readable()

Return a basic human readable version of the data.

class osc_lib.cli.format_columns.DictListColumn(value)

Bases: cliff.columns.FormattableColumn

Format column for dict, key is string, value is list

human_readable()

Return a basic human readable version of the data.

class osc_lib.cli.format_columns.ListColumn(value)

Bases: cliff.columns.FormattableColumn

Format column for list content

human_readable()

Return a basic human readable version of the data.

class osc_lib.cli.format_columns.ListDictColumn(value)

Bases: cliff.columns.FormattableColumn

Format column for list of dict content

human_readable()

Return a basic human readable version of the data.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.