View source on GitHub |
Sets the Client object instance to use for all module-level methods.
google.appengine.api.memcache.setup_client(
client_obj
)
Use this method if you want to have customer persistent_id()
or
persistent_load()
functions associated with your client.
NOTE: We don't expose the _async methods as functions; they're too
obscure; and we don't expose gets()
, cas()
and cas_multi()
because
they maintain state on the client object.
Args | |
---|---|
client_obj
|
Instance of the memcache.Client object. |