utils.py
Go to the documentation of this file.
00001 from redis.client import Redis
00002 
00003 def from_url(url, db=None, **kwargs):
00004     """Returns an active Redis client generated from the given database URL.
00005 
00006     Will attempt to extract the database id from the path url fragment, if
00007     none is provided.
00008     """
00009     return Redis.from_url(url, db, **kwargs)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


redis
Author(s): Daniel Stonier
autogenerated on Tue Jan 15 2013 17:43:13