Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 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.