The heatclient.common.utils Module

heatclient.common.utils.arg(*args, **kwargs)
heatclient.common.utils.env(*vars, **kwargs)

Search for the first defined of possibly many env vars

Returns the first environment variable defined in vars, or returns the default defined in kwargs.

heatclient.common.utils.exit(msg='')
heatclient.common.utils.find_resource(manager, name_or_id)

Helper for the _find_* methods.

heatclient.common.utils.format_parameters(params)

Reformat parameters into dict of format expected by the API

heatclient.common.utils.import_versioned_module(version, submodule=None)
heatclient.common.utils.pretty_choice_list(l)
heatclient.common.utils.print_dict(d, formatters={})
heatclient.common.utils.print_list(objs, fields, field_labels, formatters={}, sortby=0)
heatclient.common.utils.string_to_bool(arg)

This Page