osc-lib/osc_lib/cli
Stephen Finucane 4bb55ce75d formatters: Cast columns before outputting
Libraries like 'novaclient' return non-primitive types for many
operations. These are typically wrappers around primitive types, e.g.
'OrderedDict', but they all break YAML output formatting since PyYAML is
only compatible with primitive types when operating in safe mode.

The solution is rather simple: simply cast the values for these to their
expected format.

Change-Id: Ib7db6a25f2352a013cb2ce603e60ca48b6cc70e6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Story: #2008320
Task: #41217
2020-11-04 15:30:09 +00:00
..
__init__.py Begin moving bits to osc_lib 2016-05-12 16:07:24 -05:00
client_config.py Fix the misspelling of "argument" 2020-06-12 14:28:32 +00:00
format_columns.py formatters: Cast columns before outputting 2020-11-04 15:30:09 +00:00
identity.py Add project lookup utils 2017-12-24 19:29:10 +09:00
parseractions.py Add KeyValueAppendAction to osc-lib 2019-09-27 15:11:18 +01:00