Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body If CompareIn Str NameLoad body Return SubscriptLoad NameLoad Index Str orelse Return SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore TupleLoad Call AttributeLoad NameLoad attr Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Yield Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore TupleLoad Str Num Str Str Str Str Str Str Str Str Str Str Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Assign NameStore Yield Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Yield Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Num Num Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Num Num Num Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Yield Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Num Str Num Str Num Str Num Str Num Str Call AttributeLoad NameLoad attr Str Str Str Str Str Assign NameStore Yield Call AttributeLoad NameLoad attr Str TupleLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Yield Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str TupleLoad Str Str Call AttributeLoad NameLoad attr Str TupleLoad Str Str Assign NameStore Yield Call AttributeLoad NameLoad attr Str Num Num Assign NameStore Yield Call AttributeLoad NameLoad attr Str Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Yield Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Num Num Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Num Num Num Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Yield Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Num Num Num Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Num Num Num Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Yield Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Dict Str Str Str Num Num Num Call AttributeLoad NameLoad attr Str Dict Str Str Str Num Num Num Call AttributeLoad NameLoad attr Str Dict Str Str Str Num Num Num Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad TupleLoad Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Yield Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Dict Str Str Str Num Num Num Call AttributeLoad NameLoad attr Str Dict Str Str Str Num Num Num Call AttributeLoad NameLoad attr Str Dict Str Str Str Num Num Num Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Str Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad TupleLoad Str Num TupleLoad Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Num Str Num Str Num Str Num Str Call AttributeLoad NameLoad attr Str Num Str Num Str Num Str Assign NameStore Yield Call AttributeLoad NameLoad attr Str TupleLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Num Assign NameStore Yield Call AttributeLoad NameLoad attr Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Num Str Num Str Num Str Num Str Call AttributeLoad NameLoad attr Str Num Str Num Str Num Str Assign NameStore Yield Call AttributeLoad NameLoad attr Str TupleLoad Str Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Num Assign NameStore Yield Call AttributeLoad NameLoad attr Str Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Dict Str Str Str Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Str Num Str Num Str Num Str Num Str Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Str Num Str Num Str Num Str Num Str Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list decorator_list
N/A N/A Test additional commands for redis client. N/A json hashlib sha1 stdnet getdb stdnet.backends redisb stdnet.utils test flatzset get_version N/A N/A info N/A N/A N/A N/A redis_version info N/A N/A N/A info N/A redis_version N/A N/A N/A N/A info N/A Server N/A redis_version N/A test_script N/A N/A redisb RedisScript N/A N/A script N/A N/A N/A redisb read_lua_file commands.utils local js = cjson.decode(ARGV[1])
return cjson.encode(js) callback N/A N/A self request result args N/A options N/A N/A N/A N/A json loads N/A N/A result decode N/A request encoding N/A N/A TestCase N/A N/A test TestWrite N/A N/A multipledb redis setUp N/A N/A self N/A N/A N/A client N/A N/A self backend client N/A N/A self client N/A N/A client prefixed N/A self namespace N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self client flushdb N/A make_hash N/A N/A self key d N/A N/A N/A N/A k v N/A N/A d items N/A N/A N/A N/A N/A self client hset key k v N/A make_list N/A N/A self name l N/A N/A N/A l N/A tuple l N/A N/A N/A N/A self client rpush name l N/A N/A N/A self assertEqual N/A N/A N/A self client llen name N/A len l N/A make_zset N/A N/A self name d N/A N/A N/A N/A N/A N/A self client zadd name N/A flatzset kwargs d N/A N/A TestExtraClientCommands N/A TestCase N/A test_coverage N/A N/A self N/A N/A N/A c N/A N/A self backend client N/A N/A N/A self assertEqual N/A c prefix N/A size N/A N/A N/A c dbsize N/A N/A N/A self assertTrue N/A size 0 N/A test_script_meta N/A N/A self N/A N/A N/A script N/A N/A redisb get_script test_script N/A N/A N/A self assertTrue N/A script script N/A sha N/A N/A N/A sha1 N/A N/A N/A script script encode utf-8 hexdigest N/A N/A N/A self assertEqual N/A script sha1 sha N/A test_del_pattern N/A N/A self N/A N/A N/A c N/A self client N/A items N/A bla 1 bla1 ciao bla2 foo xxxx moon blaaaaaaaaaaaaaa sun xyyyy earth N/A N/A N/A N/A N/A self async assertTrue N/A N/A c execute_command MSET items N/A N N/A N/A N/A c delpattern bla* N/A N/A N/A self assertEqual N 4 N/A N/A N/A N/A N/A self async assertFalse N/A N/A c exists bla N/A N/A N/A N/A N/A self async assertFalse N/A N/A c exists bla1 N/A N/A N/A N/A N/A self async assertFalse N/A N/A c exists bla2 N/A N/A N/A N/A N/A self async assertFalse N/A N/A c exists blaaaaaaaaaaaaaa N/A N/A N/A N/A N/A self async assertEqual N/A N/A c get xxxx moon N/A N N/A N/A N/A c delpattern x* N/A N/A N/A self assertEqual N 2 N/A testMove2Set N/A N/A self N/A N/A N/A N/A N/A N/A self multi_async N/A N/A N/A N/A self client sadd foo 1 2 3 4 5 N/A N/A N/A self client lpush bla 4 5 6 7 8 N/A r N/A N/A N/A N/A self client execute_script move2set N/A foo bla s N/A N/A N/A self assertEqual N/A len r 2 N/A N/A N/A self assertEqual N/A r N/A 0 2 N/A N/A N/A self assertEqual N/A r N/A 1 1 N/A N/A N/A N/A self multi_async N/A N/A N/A N/A self client sinterstore res1 foo bla N/A N/A N/A self client sunionstore res2 foo bla N/A m1 N/A N/A N/A N/A self client smembers res1 N/A m2 N/A N/A N/A N/A self client smembers res2 N/A m1 N/A sorted N/A N/A int r N/A r m1 N/A m2 N/A sorted N/A N/A int r N/A r m2 N/A N/A N/A self assertEqual m1 N/A 4 5 N/A N/A N/A self assertEqual m2 N/A 1 2 3 4 5 6 7 8 N/A testMove2ZSet N/A N/A self N/A N/A N/A client N/A self client N/A N/A N/A N/A self multi_async N/A N/A N/A client zadd foo 1 a 2 b 3 c 4 d 5 e N/A N/A client lpush bla d e f g N/A r N/A N/A N/A client execute_script move2set N/A foo bla z N/A N/A N/A self assertEqual N/A len r 2 N/A N/A N/A self assertEqual N/A r N/A 0 2 N/A N/A N/A self assertEqual N/A r N/A 1 1 N/A N/A N/A N/A self multi_async N/A N/A N/A client zinterstore res1 N/A foo bla N/A N/A client zunionstore res2 N/A foo bla N/A m1 N/A N/A N/A client zrange res1 0 -1 N/A m2 N/A N/A N/A client zrange res2 0 -1 N/A N/A N/A self assertEqual N/A sorted m1 N/A d e N/A N/A N/A self assertEqual N/A sorted m2 N/A a b c d e f g N/A testMoveSetSet N/A N/A self N/A N/A N/A r N/A N/A N/A self multi_async N/A N/A N/A N/A self client sadd foo 1 2 3 4 5 N/A N/A N/A self client sadd bla 4 5 6 7 8 N/A r N/A N/A N/A N/A self client execute_script move2set N/A foo bla s N/A N/A N/A self assertEqual N/A len r 2 N/A N/A N/A self assertEqual N/A r N/A 0 2 N/A N/A N/A self assertEqual N/A r N/A 1 0 N/A testMove2List2 N/A N/A self N/A N/A N/A N/A N/A N/A self multi_async N/A N/A N/A N/A self client lpush foo 1 2 3 4 5 N/A N/A N/A self client lpush bla 4 5 6 7 8 N/A r N/A N/A N/A N/A self client execute_script move2set N/A foo bla s N/A N/A N/A self assertEqual N/A len r 2 N/A N/A N/A self assertEqual N/A r N/A 0 2 N/A N/A N/A self assertEqual N/A r N/A 1 2 N/A test_bad_execute_script N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A redisb RedisError N/A N/A self client execute_script foo N/A N/A test_zdiffstore N/A N/A self N/A N/A N/A N/A N/A N/A self multi_async N/A N/A N/A self make_zset aa N/A a1 a2 a3 1 1 1 N/A N/A self make_zset ba N/A a1 a3 a4 2 2 2 N/A N/A self make_zset ca N/A a1 a3 a4 6 5 4 N/A n N/A N/A N/A N/A self client zdiffstore za N/A aa ba ca N/A N/A N/A self assertEqual n 1 N/A r N/A N/A N/A N/A self client zrange za 0 -1 withscores True N/A N/A N/A self assertEquals N/A list r N/A N/A a2 1 N/A test_zdiffstore_withscores N/A N/A self N/A N/A N/A N/A N/A N/A self multi_async N/A N/A N/A self make_zset ab N/A a1 a2 a3 6 1 2 N/A N/A self make_zset bb N/A a1 a3 a4 1 1 2 N/A N/A self make_zset cb N/A a1 a3 a4 3 1 4 N/A n N/A N/A N/A N/A self client zdiffstore zb N/A ab bb cb withscores True N/A N/A N/A self assertEqual n 2 N/A r N/A N/A N/A N/A self client zrange zb 0 -1 withscores True N/A N/A N/A self assertEquals N/A list r N/A N/A a2 1 N/A a1 2 N/A test_zdiffstore2 N/A N/A self N/A N/A N/A c N/A self client N/A N/A N/A N/A self multi_async N/A N/A N/A c zadd s1 1 a 2 b 3 c 4 d N/A N/A c zadd s2 6 a 9 b 100 c N/A r N/A N/A N/A c zdiffstore s3 N/A s1 s2 N/A N/A N/A N/A self async assertEqual N/A N/A c zcard s3 1 N/A r N/A N/A N/A c zrange s3 0 -1 N/A N/A N/A self assertEqual r N/A d N/A test_zdiffstore_withscores2 N/A N/A self N/A N/A N/A c N/A self client N/A N/A N/A N/A self multi_async N/A N/A N/A c zadd s1 1 a 2 b 3 c 4 d N/A N/A c zadd s2 6 a 2 b 100 c N/A r N/A N/A N/A c zdiffstore s3 N/A s1 s2 withscores True N/A N/A N/A N/A self async assertEqual N/A N/A c zcard s3 3 N/A r N/A N/A N/A c zrange s3 0 -1 withscores True N/A N/A N/A self assertEqual N/A dict r N/A a c d -5.0 -97.0 4.0 N/A test_zpop_byrank N/A N/A self N/A N/A N/A N/A N/A N/A N/A self client zadd foo 1 a 2 b 3 c 4 d 5 e N/A res N/A N/A N/A N/A self client zpopbyrank foo 0 N/A rem N/A N/A N/A N/A self client zrange foo 0 -1 N/A N/A N/A self assertEqual N/A len rem 4 N/A N/A N/A self assertEqual rem N/A b c d e N/A N/A N/A self assertEqual res N/A a N/A res N/A N/A N/A N/A self client zpopbyrank foo 0 2 N/A N/A N/A self assertEqual res N/A b c d N/A rem N/A N/A N/A N/A self client zrange foo 0 -1 N/A N/A N/A self assertEqual rem N/A e N/A test_zpop_byscore N/A N/A self N/A N/A N/A N/A N/A N/A N/A self client zadd foo 1 a 2 b 3 c 4 d 5 e N/A res N/A N/A N/A N/A self client zpopbyscore foo 2 N/A rem N/A N/A N/A N/A self client zrange foo 0 -1 N/A N/A N/A self assertEqual N/A len rem 4 N/A N/A N/A self assertEqual rem N/A a c d e N/A N/A N/A self assertEqual res N/A b N/A res N/A N/A N/A N/A self client zpopbyscore foo 0 4.5 N/A N/A N/A self assertEqual res N/A a c d N/A rem N/A N/A N/A N/A self client zrange foo 0 -1 N/A N/A N/A self assertEqual rem N/A e N/A N/A