freezerclient.utils Module¶freezerclient.utils.Namespace(obj={})[source]¶Bases: dict
A dict subclass that exposes its items as attributes.
Warning: Namespace instances do not have direct access to the dict methods.
freezerclient.utils.create_headers_for_request(token)[source]¶Create a header dict to be passed to the api.
| Parameters: | token – token string coming from the api |
|---|---|
| Returns: | a dict containing all the headers for a request |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.