Python 3.9 is now generally available.

google.appengine.api.memcache.setup_client

Sets the Client object instance to use for all module-level methods.

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.

client_obj Instance of the memcache.Client object.