Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body TryFinally body TryExcept body For NameStore NameLoad body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad attr Str attr handlers ExceptHandler type NameLoad body Pass finalbody Expr Call AttributeLoad NameLoad attr Call NameLoad If CompareEq Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Raise NameLoad finalbody Expr Call AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore TupleLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword TupleLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr For NameStore NameLoad body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr AttributeLoad SubscriptLoad NameLoad Index Num attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr For NameStore NameLoad body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore NameLoad body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Expr Call AttributeLoad Call NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad Call NameLoad attr SubscriptLoad NameLoad Index Num With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Str attr Str attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call NameLoad attr NameLoad decorator_list decorator_list
N/A N/A mock threading current_thread threading Event threading Thread sqlalchemy.orm exc nailgun consts nailgun.db db nailgun.db deadlock_detector dd nailgun.db.sqlalchemy models nailgun.test.base BaseTestCase TestDeadlockDetector N/A BaseTestCase N/A N/A patchers N/A N/A N/A mock patch nailgun.db.deadlock_detector.Lock._warnings_only return_value False setUpClass N/A N/A cls N/A N/A N/A N/A N/A N/A super TestDeadlockDetector cls setUpClass N/A patcher N/A cls patchers N/A N/A N/A N/A patcher start N/A classmethod tearDownClass N/A N/A cls N/A N/A N/A N/A N/A N/A super TestDeadlockDetector cls tearDownClass N/A patcher N/A cls patchers N/A N/A N/A N/A patcher stop N/A classmethod tearDown N/A N/A self N/A N/A N/A N/A N/A N/A super TestDeadlockDetector self tearDown N/A N/A N/A N/A db rollback N/A test_no_locks N/A N/A self N/A N/A N/A len_exp N/A len N/A N/A dd context locks N/A N/A N/A N/A N/A N/A db query N/A models Node all N/A N/A N/A self assertEquals len_exp N/A len N/A N/A dd context locks N/A N/A N/A N/A N/A N/A db query N/A models Node all N/A N/A N/A N/A N/A N/A db query N/A models Cluster all N/A N/A N/A self assertEquals len_exp N/A len N/A N/A dd context locks N/A test_lock_same_table N/A N/A self N/A N/A N/A N/A N/A N/A db commit N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update all N/A N/A N/A self assertEquals 1 N/A len N/A N/A dd context locks N/A N/A N/A N/A db commit N/A test_lock_cleaned_on_commit N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update all N/A N/A N/A self assertGreater N/A len N/A N/A dd context locks 0 N/A N/A N/A N/A db commit N/A N/A N/A self assertEquals 0 N/A len N/A N/A dd context locks N/A test_lock_not_cleaned_on_flush N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster with_lockmode update order_by id all N/A N/A N/A self assertGreater N/A len N/A N/A dd context locks 0 N/A N/A N/A N/A db flush N/A N/A N/A self assertGreater N/A len N/A N/A dd context locks 0 N/A test_lock_cleaned_on_rollback N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update all N/A N/A N/A self assertGreater N/A len N/A N/A dd context locks 0 N/A N/A N/A N/A db rollback N/A N/A N/A self assertEquals 0 N/A len N/A N/A dd context locks N/A test_unknown_locks_chain_failed N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Release with_lockmode update all N/A N/A N/A self assertRaises N/A dd LockTransitionNotAllowedError N/A N/A N/A N/A db query N/A models Node with_lockmode update N/A N/A N/A N/A db rollback N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Task with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update all N/A N/A N/A self assertRaises N/A dd LockTransitionNotAllowedError N/A N/A N/A N/A db query N/A models Task with_lockmode update N/A N/A N/A N/A db rollback N/A test_locks_chain N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update all N/A N/A N/A N/A db commit N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update all N/A N/A N/A N/A db commit N/A lock_tables N/A N/A self objects results event threads_num N/A N/A N/A N/A N/A N/A N/A obj objects N/A N/A N/A N/A N/A N/A N/A N/A N/A db query obj with_lockmode update all N/A N/A N/A Exception N/A N/A N/A N/A N/A N/A results append N/A current_thread N/A N/A N/A len results threads_num N/A N/A N/A N/A event set N/A N/A N/A event wait N/A N/A N/A N/A N/A N/A N/A self assertEquals N/A len objects N/A len N/A N/A dd context locks N/A N/A N/A results append True N/A N/A N/A Exception N/A e N/A N/A N/A N/A results append False N/A e N/A N/A N/A N/A N/A db commit N/A test_lock_context_isolation_in_threads N/A N/A self N/A N/A N/A results N/A N/A objects_for_locks N/A N/A N/A models Cluster N/A models Node N/A N/A models Node N/A models Cluster N/A N/A models Release N/A threads N/A N/A event N/A Event N/A objects objects_for_locks N/A N/A t N/A Thread target N/A self lock_tables args N/A objects results event N/A len objects_for_locks N/A N/A N/A t start N/A N/A N/A threads append t N/A thread threads N/A N/A N/A N/A thread join N/A N/A N/A self assertTrue N/A all results N/A test_find_lock N/A N/A self N/A N/A N/A N/A N/A self assertIsNone N/A N/A dd find_lock xxx strict False N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Release with_lockmode update all N/A lock N/A N/A dd find_lock N/A N/A models Release __tablename__ strict True N/A N/A N/A self assertIsNotNone lock N/A N/A N/A self assertEqual N/A N/A models Release __tablename__ N/A lock table N/A test_find_lock_failed N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Release with_lockmode update all N/A N/A N/A self assertRaisesWithMessage N/A dd LockNotFound Lock for 'nodes' not found. Current locks list: ['releases'] N/A dd find_lock N/A N/A models Node __tablename__ strict True N/A test_ids_traced_select_from_single_table N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 2 N/A nodes N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by id with_lockmode update all N/A lock N/A N/A dd find_lock N/A N/A models Node __tablename__ N/A N/A N/A self assertEqual N/A lock locked_ids N/A set N/A N/A o id N/A o nodes N/A test_select_failed_with_wrong_order N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 2 N/A N/A N/A self assertRaises N/A dd ObjectsLockingOrderViolation N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by N/A N/A N/A N/A models Node id desc with_lockmode update all N/A test_locking_already_locked_objects N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 2 N/A nodes N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by id with_lockmode update all N/A lock N/A N/A dd find_lock N/A N/A models Node __tablename__ N/A N/A N/A self assertEqual N/A lock locked_ids N/A set N/A N/A o id N/A o nodes N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update get N/A N/A nodes N/A 0 id N/A N/A N/A self assertEqual N/A lock locked_ids N/A set N/A N/A o id N/A o nodes N/A test_ids_traced_select_from_different_tables N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 3 N/A clusters N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster order_by id with_lockmode update all N/A nodes N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by id with_lockmode update all N/A nodes_lock N/A N/A dd find_lock N/A N/A models Node __tablename__ N/A clusters_lock N/A N/A dd find_lock N/A N/A models Cluster __tablename__ N/A N/A N/A self assertEqual N/A nodes_lock locked_ids N/A set N/A N/A o id N/A o nodes N/A N/A N/A self assertEqual N/A clusters_lock locked_ids N/A set N/A N/A o id N/A o clusters N/A test_id_traced_in_get N/A N/A self N/A N/A N/A node N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update get 0 N/A N/A N/A self assertIsNone node N/A nodes_lock N/A N/A dd find_lock N/A N/A models Node __tablename__ strict False N/A N/A N/A self assertIsNotNone nodes_lock N/A N/A N/A self assertEqual N/A set N/A nodes_lock locked_ids N/A N/A N/A N/A self env create_nodes 2 N/A N/A N/A N/A N/A N/A db query N/A models Cluster with_lockmode update N/A nodes N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by id all N/A node nodes N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update get N/A node id N/A nodes_lock N/A N/A dd find_lock N/A N/A models Node __tablename__ N/A N/A N/A self assertEqual N/A nodes_lock locked_ids N/A set N/A N/A o id N/A o nodes N/A test_wrong_order_in_get_failed N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 2 N/A nodes N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by -id all N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update get N/A N/A nodes N/A 0 id N/A N/A N/A self assertRaises N/A dd ObjectsLockingOrderViolation N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update get N/A N/A nodes N/A 1 id N/A test_updating_already_locked_object N/A N/A self N/A N/A N/A cluster N/A N/A N/A self env create_cluster N/A N/A N/A N/A self env create_nodes 2 N/A N/A N/A N/A self env create_cluster N/A N/A N/A self assertGreater N/A len N/A N/A self env clusters 1 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster order_by id with_lockmode update all N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by id with_lockmode update all N/A N/A cluster status N/A N/A consts CLUSTER_STATUSES error N/A test_id_traced_on_updating_object N/A N/A self N/A N/A N/A cluster N/A N/A N/A self env create_cluster N/A N/A N/A N/A self env create_nodes 2 N/A N/A N/A N/A self env create_cluster N/A N/A N/A self assertGreater N/A len N/A N/A self env clusters 1 N/A N/A cluster status N/A N/A consts CLUSTER_STATUSES error N/A cluster_lock N/A N/A dd find_lock N/A N/A models Cluster __tablename__ N/A N/A N/A self assertEqual N/A cluster_lock locked_ids N/A set N/A N/A cluster id N/A nodes N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by id all N/A node nodes N/A N/A N/A node status N/A N/A consts NODE_STATUSES error N/A node_lock N/A N/A dd find_lock N/A N/A models Node __tablename__ N/A N/A N/A self assertEqual N/A node_lock locked_ids N/A set N/A N/A o id N/A o nodes N/A test_updating_ids_in_wrong_order_failed N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 2 N/A nodes N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by -id all N/A N/A N/A self assertRaises N/A dd ObjectsLockingOrderViolation N/A N/A node nodes N/A N/A N/A node status N/A N/A consts NODE_STATUSES error N/A test_lock_ids_in_non_last_lock_failed N/A N/A self N/A N/A N/A cluster N/A N/A N/A self env create_cluster N/A N/A N/A N/A self env create_nodes 2 N/A another_cluster N/A N/A N/A self env create_cluster N/A N/A N/A self assertGreater N/A len N/A N/A self env clusters 1 N/A N/A cluster status N/A N/A consts CLUSTER_STATUSES error N/A cluster_lock N/A N/A dd find_lock N/A N/A models Cluster __tablename__ N/A N/A N/A self assertEqual N/A cluster_lock locked_ids N/A set N/A N/A cluster id N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update order_by id all N/A last_lock N/A N/A N/A dd context locks N/A -1 N/A N/A N/A self assertNotEqual cluster_lock last_lock N/A N/A N/A self assertRaises N/A dd TablesLockingOrderViolation N/A N/A N/A another_cluster status N/A N/A consts CLUSTER_STATUSES error N/A test_bulk_update_query_ids_traced N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 2 N/A N/A N/A self assertIsNone N/A N/A dd find_lock N/A N/A models Node __tablename__ strict False N/A node N/A N/A N/A self env nodes N/A 0 N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node filter N/A N/A N/A models Node id N/A node id update N/A status N/A N/A consts NODE_STATUSES error N/A nodes_lock N/A N/A dd find_lock N/A N/A models Node __tablename__ strict False N/A N/A N/A self assertIsNotNone nodes_lock N/A N/A N/A self assertEqual N/A nodes_lock locked_ids N/A set N/A N/A node id N/A test_bulk_delete_query_ids_traced N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 2 N/A node N/A N/A N/A self env nodes N/A 0 N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node filter N/A N/A N/A models Node id N/A node id delete N/A node_lock N/A N/A dd find_lock N/A N/A models Node __tablename__ strict False N/A N/A N/A self assertIsNotNone node_lock N/A N/A N/A self assertEqual N/A node_lock locked_ids N/A set N/A N/A node id N/A test_id_traced_for_fetching_first N/A N/A self N/A N/A N/A node N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update order_by id first N/A N/A N/A self assertIsNone node N/A node_lock N/A N/A dd find_lock N/A N/A models Node __tablename__ strict False N/A N/A N/A self assertIsNotNone node_lock N/A N/A N/A self assertEqual N/A set N/A node_lock locked_ids N/A N/A N/A N/A self env create_nodes 2 N/A node N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update order_by id first N/A N/A N/A self assertIsNotNone node N/A N/A N/A self assertIn N/A node id N/A node_lock locked_ids N/A test_lock_failed_on_wrong_order_for_fetching_first N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 2 N/A nodes N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by -id all N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update filter N/A N/A N/A models Node id N/A N/A nodes N/A 0 id first N/A N/A N/A self assertRaises N/A dd ObjectsLockingOrderViolation N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update filter N/A N/A N/A models Node id N/A N/A nodes N/A 1 id first N/A test_id_traced_for_fetching_one N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exc NoResultFound N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update filter N/A N/A N/A models Node id 0 one N/A node_lock N/A N/A dd find_lock N/A N/A models Node __tablename__ strict False N/A N/A N/A self assertIsNotNone node_lock N/A N/A N/A self assertEqual N/A set N/A node_lock locked_ids N/A N/A N/A N/A self env create_nodes 2 N/A node N/A N/A N/A self env nodes N/A 0 N/A node N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update filter N/A N/A N/A models Node id N/A node id one N/A N/A N/A self assertIsNotNone node N/A N/A N/A self assertIn N/A node id N/A node_lock locked_ids N/A test_lock_failed_on_wrong_order_for_fetching_one N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 2 N/A nodes N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by -id all N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update filter N/A N/A N/A models Node id N/A N/A nodes N/A 0 id one N/A N/A N/A self assertRaises N/A dd ObjectsLockingOrderViolation N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update filter N/A N/A N/A models Node id N/A N/A nodes N/A 1 id one N/A test_id_traced_on_object_deletion N/A N/A self N/A N/A N/A N/A N/A N/A self env create_nodes 2 N/A node N/A N/A N/A self env nodes N/A 0 N/A node_id N/A node id N/A N/A N/A N/A db delete node N/A node_lock N/A N/A dd find_lock N/A N/A models Node __tablename__ N/A N/A N/A self assertEqual N/A node_lock locked_ids N/A set N/A node_id N/A test_deletion_already_locked_object N/A N/A self N/A N/A N/A N/A N/A N/A self env create_cluster N/A N/A N/A N/A self env create_nodes 2 N/A cluster N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster with_lockmode update order_by id first N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update order_by id all N/A N/A N/A N/A db delete cluster N/A test_deletion_in_wrong_order_failed N/A N/A self N/A N/A N/A N/A N/A N/A self env create_cluster N/A N/A N/A N/A self env create_nodes 2 N/A nodes N/A N/A N/A N/A N/A N/A N/A db query N/A models Node order_by -id all N/A N/A N/A N/A db delete N/A nodes N/A 0 N/A N/A N/A self assertRaises N/A dd ObjectsLockingOrderViolation N/A N/A N/A N/A N/A db delete N/A nodes N/A 1 N/A test_deletion_with_non_last_lock_failed N/A N/A self N/A N/A N/A old_cluster N/A N/A N/A self env create_cluster N/A N/A N/A N/A self env create_nodes 2 N/A new_cluster N/A N/A N/A self env create_cluster N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Cluster with_lockmode update get N/A old_cluster id N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node with_lockmode update order_by id all N/A last_lock N/A N/A N/A dd context locks N/A -1 N/A cluster_lock N/A N/A dd find_lock N/A N/A models Cluster __tablename__ N/A N/A N/A self assertNotEqual cluster_lock last_lock N/A N/A N/A self assertRaises N/A dd TablesLockingOrderViolation N/A N/A N/A N/A N/A db delete new_cluster N/A N/A