Client Python Module¶
Metadata Client Module.
-
class
pacifica.metadata.client.
PMClient
(url)¶ Pacifica Metadata Client.
This class provides client API to connect to the metadata service
-
__init__
(url)¶ Constructor takes the url to the endpoint.
-
__weakref__
¶ list of weak references to the object (if defined)
-
create
(cls_type, set_hash)¶ Create the object of type based on hash.
-
delete
(cls_type, query_hash)¶ Delete the object of type from query_hash.
-
get
(cls_type, query_hash)¶ Get the object of type from query_hash.
-
update
(cls_type, query_hash, set_hash)¶ Update the object.
Update object of type returned from query_hash and set the values in set_hash
-