Module Import alias Import alias ImportFrom alias identifier Import alias FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults vararg kwarg body If AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Num Expr Str Assign NameStore Num decorator_list Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad Num Num keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return BinOpDiv NameLoad Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad Num Num keyword NameLoad If NameLoad body Assign NameStore BinOpMult NameLoad Num Assign NameStore Call NameLoad Num Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Str Str orelse Assign NameStore NameLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Break If UnaryOpNot NameLoad body Return TupleLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Return TupleLoad CompareGtE NameLoad NameLoad NameLoad decorator_list
N/A N/A enum N/A redis redis exceptions redis_exceptions N/A six _raise_on_closed N/A N/A meth N/A N/A wrapper N/A N/A self N/A args kwargs N/A N/A N/A self closed N/A N/A N/A N/A redis_exceptions ConnectionError Connection has been closed N/A N/A meth self args kwargs N/A N/A N/A six wraps meth N/A wrapper N/A RedisClient N/A N/A redis StrictRedis N/A N/A A redis client that can be closed (and raises on-usage after closed).

    TODO(harlowja): if https://github.com/andymccurdy/redis-py/issues/613 ever
    gets resolved or merged or other then we can likely remove this.
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super RedisClient self __init__ args kwargs N/A N/A self closed False N/A close N/A N/A self N/A N/A N/A N/A self closed True N/A N/A N/A N/A self connection_pool disconnect N/A N/A execute_command N/A _raise_on_closed N/A N/A redis StrictRedis execute_command N/A transaction N/A _raise_on_closed N/A N/A redis StrictRedis transaction N/A pubsub N/A _raise_on_closed N/A N/A redis StrictRedis pubsub N/A UnknownExpire N/A N/A enum IntEnum N/A N/A Non-expiry (not ttls) results return from :func:`.get_expiry`.

    See: http://redis.io/commands/ttl or http://redis.io/commands/pttl
     N/A DOES_NOT_EXPIRE -1 N/A 
    The command returns ``-1`` if the key exists but has no associated expire.
     N/A KEY_NOT_FOUND -2 N/A N/A DOES_NOT_EXPIRE N/A UnknownExpire DOES_NOT_EXPIRE N/A KEY_NOT_FOUND N/A UnknownExpire KEY_NOT_FOUND N/A _UNKNOWN_EXPIRE_MAPPING N/A dict N/A N/A N/A e value e N/A e N/A list UnknownExpire get_expiry N/A N/A client key prior_version N/A None N/A N/A Gets an expiry for a key (using **best** determined ttl method). N/A N/A is_new_enough _prior_version N/A is_server_new_enough client N/A 2 6 prior_version prior_version N/A is_new_enough N/A N/A result N/A N/A client pttl key N/A N/A N/A N/A _UNKNOWN_EXPIRE_MAPPING N/A result N/A N/A N/A KeyError N/A N/A N/A result 1000.0 N/A N/A result N/A N/A client ttl key N/A N/A N/A N/A _UNKNOWN_EXPIRE_MAPPING N/A result N/A N/A N/A KeyError N/A N/A N/A float result N/A apply_expiry N/A N/A client key expiry prior_version N/A None N/A N/A Applies an expiry to a key (using **best** determined expiry method). N/A N/A is_new_enough _prior_version N/A is_server_new_enough client N/A 2 6 prior_version prior_version N/A is_new_enough N/A N/A ms_expiry N/A expiry 1000.0 N/A ms_expiry N/A max 0 N/A int ms_expiry N/A result N/A N/A client pexpire key ms_expiry N/A N/A sec_expiry N/A int expiry N/A sec_expiry N/A max 0 sec_expiry N/A result N/A N/A client expire key sec_expiry N/A N/A bool result N/A is_server_new_enough N/A N/A client min_version default prior_version N/A False None N/A N/A Checks if a client is attached to a new enough redis server. N/A N/A prior_version N/A N/A N/A N/A server_info N/A N/A client info N/A N/A N/A N/A redis_exceptions ResponseError N/A N/A server_info N/A N/A version_text N/A N/A server_info get redis_version N/A N/A version_text prior_version N/A version_pieces N/A N/A p N/A N/A version_text split . N/A N/A N/A N/A N/A N/A version_pieces append N/A int p N/A N/A N/A ValueError N/A N/A N/A N/A version_pieces N/A N/A N/A default version_text N/A N/A version_pieces N/A tuple version_pieces N/A N/A N/A version_pieces min_version version_text N/A