In order to accomplish this, you must pass a username and password with your servers on `pylibmc.Client()`: ``` python pylibmc.Client(servers, username, password) ``` ([pylibmc source](https://github.com/lericson/pylibmc/blob/master/pylibmc/client.py#L88-90)) You could then initialize the cache: ``` python >>> from cachecore import MemcachedCache >>> c = MemcachedCache(servers, username, password) >>> c.set("foo", "value") >>> c.get("foo") 'value' >>> c.get("missing") is None True ``` This would allow support for multi-tenant memcached servers on platforms like Heroku.
Activity