e71bee318c
We should not be returning raw client objects when creating or rebuilding a server. The usage document is updated to indicate that access to resource values via attribute is deprecated, and the examples in the README now reflect dict-style access. Change-Id: Iac38d4c0b29f867cc3cefaccf48c1c3fcd17a3d9
448 B
448 B
Usage
To use shade in a project:
import shade
Warning
Several of the API methods return a dict
that describe a
resource. It is possible to access keys of the dict as an attribute
(e.g., server.id
instead of server['id']
) to
maintain some backward compatibility, but attribute access is
deprecated. New code should assume a normal dictionary and access values
via key.
shade