mistralclient.utils Module¶mistralclient.utils.do_action_on_many(action, resources, success_msg, error_msg)¶Helper to run an action on many resources.
mistralclient.utils.get_contents_if_file(contents_or_file_name)¶Get the contents of a file.
If the value passed in is a file name or file URI, return the contents. If not, or there is an error reading the file contents, return the value passed in as the contents.
For example, a workflow definition will be returned if either the workflow definition file name, or file URI are passed in, or the actual workflow definition itself is passed in.
mistralclient.utils.load_content(content)¶mistralclient.utils.load_file(path)¶mistralclient.utils.load_json(input_string)¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.