Module ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad NameLoad Str Str Assign NameStore Call NameLoad NameLoad Str Num Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Str Num Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body If CompareEq NameLoad Num body Return TryExcept body Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If CompareGt NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad NameLoad attr Assign NameStore BinOpMod NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore BinOpMod NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return IfExp NameLoad Call NameLoad NameLoad Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore BinOpMod NameLoad NameLoad Return Call NameLoad GeneratorExp TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareGt Call NameLoad NameLoad Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore BinOpMod NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMod NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore BinOpMod NameLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMod NameLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return NameLoad decorator_list decorator_list
N/A django.conf settings django.utils.functional cached_property N/A redis redis.sentinel Sentinel redis.exceptions ConnectionError ResponseError N/A COUNTER_CACHE_KEY experiments:participants:%s N/A COUNTER_FREQ_CACHE_KEY experiments:freq:%s Counters N/A object N/A _redis N/A N/A self N/A N/A N/A N/A getattr settings EXPERIMENTS_REDIS_SENTINELS None N/A N/A sentinel N/A Sentinel N/A settings EXPERIMENTS_REDIS_SENTINELS socket_timeout N/A settings EXPERIMENTS_REDIS_SENTINELS_TIMEOUT N/A N/A host port N/A N/A sentinel discover_master N/A settings EXPERIMENTS_REDIS_MASTER_NAME N/A N/A host N/A getattr settings EXPERIMENTS_REDIS_HOST localhost N/A port N/A getattr settings EXPERIMENTS_REDIS_PORT 6379 N/A password N/A getattr settings EXPERIMENTS_REDIS_PASSWORD None N/A db N/A getattr settings EXPERIMENTS_REDIS_DB 0 N/A N/A N/A redis Redis host host port port password password db db N/A cached_property increment N/A N/A self key participant_identifier count N/A 1 N/A N/A N/A count 0 N/A N/A N/A N/A N/A cache_key N/A COUNTER_CACHE_KEY key N/A freq_cache_key N/A COUNTER_FREQ_CACHE_KEY key N/A new_value N/A N/A N/A self _redis hincrby cache_key participant_identifier count N/A N/A new_value count N/A N/A N/A N/A N/A self _redis hincrby freq_cache_key N/A new_value count -1 N/A N/A N/A N/A self _redis hincrby freq_cache_key new_value 1 N/A N/A N/A N/A ConnectionError ResponseError N/A N/A N/A clear N/A N/A self key participant_identifier N/A N/A N/A N/A N/A cache_key N/A COUNTER_CACHE_KEY key N/A pipe N/A N/A N/A self _redis pipeline N/A N/A freq _ N/A N/A N/A N/A N/A N/A pipe hget cache_key participant_identifier hdel cache_key participant_identifier execute N/A freq_cache_key N/A COUNTER_FREQ_CACHE_KEY key N/A N/A N/A N/A self _redis hincrby freq_cache_key freq -1 N/A N/A N/A N/A ConnectionError ResponseError N/A N/A N/A get N/A N/A self key N/A N/A N/A N/A N/A cache_key N/A COUNTER_CACHE_KEY key N/A N/A N/A N/A self _redis hlen cache_key N/A N/A N/A N/A ConnectionError ResponseError N/A N/A 0 N/A get_frequency N/A N/A self key participant_identifier N/A N/A N/A N/A N/A cache_key N/A COUNTER_CACHE_KEY key N/A freq N/A N/A N/A self _redis hget cache_key participant_identifier N/A N/A freq N/A int freq 0 N/A N/A N/A N/A ConnectionError ResponseError N/A N/A 0 N/A get_frequencies N/A N/A self key N/A N/A N/A N/A N/A freq_cache_key N/A COUNTER_FREQ_CACHE_KEY key N/A N/A dict N/A N/A N/A int k N/A int v N/A N/A k v N/A N/A N/A N/A N/A self _redis hgetall freq_cache_key items N/A N/A int v 0 N/A N/A N/A N/A ConnectionError ResponseError N/A N/A N/A tuple N/A reset N/A N/A self key N/A N/A N/A N/A N/A cache_key N/A COUNTER_CACHE_KEY key N/A N/A N/A N/A self _redis delete cache_key N/A freq_cache_key N/A COUNTER_FREQ_CACHE_KEY key N/A N/A N/A N/A self _redis delete freq_cache_key N/A True N/A N/A N/A N/A ConnectionError ResponseError N/A N/A False N/A reset_pattern N/A N/A self pattern_key N/A N/A N/A N/A N/A cache_key N/A COUNTER_CACHE_KEY pattern_key N/A key N/A N/A N/A self _redis keys cache_key N/A N/A N/A N/A N/A self _redis delete key N/A freq_cache_key N/A COUNTER_FREQ_CACHE_KEY pattern_key N/A key N/A N/A N/A self _redis keys freq_cache_key N/A N/A N/A N/A N/A self _redis delete key N/A True N/A N/A N/A N/A ConnectionError ResponseError N/A N/A False N/A N/A