utils.py
Go to the documentation of this file.
00001 from .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)


rocon_python_redis
Author(s): Andy McCurdy
autogenerated on Fri May 2 2014 10:35:49