Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad Num attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str AttributeLoad Call NameLoad Num attr Str Num Num AttributeLoad Call NameLoad Num attr Str Num Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad Call NameLoad Num attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad Call NameLoad Num attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad Call NameLoad Num attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad Call NameLoad Num attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Dict Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Dict Str TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad For NameStore TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Num Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore TupleLoad Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp CompareIn NameLoad NameLoad comprehension NameStore NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore Call NameLoad Num Num body Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str keyword Num attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Continue Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Dict FunctionDef arguments args defaults vararg kwarg body Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Str Str keyword AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Num FunctionDef arguments args NameParam NameParam defaults kwarg body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str keyword Num attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str keyword Num attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Continue Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr For NameStore TupleLoad NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str keyword Num attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str keyword Num attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Continue Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr For NameStore TupleLoad NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg body If CompareNotEq NameLoad Str body Return Assign NameStore BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Str Str keyword AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str keyword Num attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str keyword Num attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Continue Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore GeneratorExp AttributeLoad Call NameLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call NameLoad NameLoad Num Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call NameLoad NameLoad Num Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Num Str Str keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr Num Str Str Str Str body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad TryFinally body Expr Yield NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore GeneratorExp AttributeLoad Call NameLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Dict Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body With Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body With Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore GeneratorExp AttributeLoad Call NameLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str orelse Return Call NameLoad NameLoad decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Num decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore BoolOpOr NameLoad TupleLoad Str Str Str Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore NameLoad CompareIsNot NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str TupleLoad TupleLoad NameLoad TupleLoad NameLoad TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Num Str Str keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str keyword Num attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str keyword Num attr If NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr Str Str body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr Str Str body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr Str Str keyword NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr Str Str keyword NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore GeneratorExp AttributeLoad Call NameLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore NameLoad CompareIsNot NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Num Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Str Num Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Num Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad Call AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Num AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore GeneratorExp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpFloorDiv Call NameLoad Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore NameLoad CompareIsNot NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Num Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Str Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Num Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Str Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareLtLtE Num SubscriptLoad AttributeLoad NameLoad attr Index Str Num SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Num AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Str Num Assign NameStore Call AttributeLoad NameLoad attr Num Str NameLoad NameLoad NameLoad NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore TupleLoad BinOpMod Str AttributeLoad NameLoad attr NameLoad Num Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Assign NameStore TupleLoad BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore GeneratorExp AttributeLoad Call NameLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore NameLoad CompareIsNot NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr For NameStore TupleLoad NameLoad NameLoad body For NameStore TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Call NameLoad NameLoad Num Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Num Num Dict Str Str Num Num For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr GeneratorExp TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr GeneratorExp TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad TryFinally body Expr Yield NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore GeneratorExp AttributeLoad Call NameLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Num Str Str keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Assign NameStore ListLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore ListLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Num Str decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str TupleLoad Str AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Str TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Dict Str Str TupleLoad Str AttributeLoad Call NameLoad NameLoad attr TupleLoad Str AttributeLoad Call NameLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str TupleLoad Str AttributeLoad Call NameLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body With Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num attr decorator_list decorator_list NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A os N/A time N/A shutil N/A itertools N/A unittest N/A mock N/A random N/A sqlite3 swift.common db_replicator swift.container replicator backend server sync_store swift.container.reconciler MISPLACED_OBJECTS_ACCOUNT get_reconciler_container_name swift.common.utils Timestamp encode_timestamps swift.common.storage_policy POLICIES test.unit.common test_db_replicator test.unit patch_policies make_timestamp_iter FakeLogger contextlib contextmanager TestReplicatorSync N/A N/A test_db_replicator TestReplicatorSync N/A N/A backend N/A backend ContainerBroker N/A datadir N/A server DATADIR N/A replicator_daemon N/A replicator ContainerReplicator N/A replicator_rpc N/A replicator ContainerReplicatorRpc test_report_up_to_date N/A N/A self N/A N/A N/A broker N/A N/A self _get_broker a c node_index 0 N/A N/A N/A broker initialize N/A N/A Timestamp 1 internal N/A int N/A POLICIES default N/A info N/A N/A broker get_info N/A N/A N/A broker reported N/A info N/A put_timestamp N/A info N/A delete_timestamp N/A info N/A object_count N/A info N/A bytes_used N/A full_info N/A N/A broker get_replication_info N/A expected_info N/A put_timestamp delete_timestamp count bytes_used reported_put_timestamp reported_delete_timestamp reported_object_count reported_bytes_used N/A N/A Timestamp 1 internal 0 0 0 N/A N/A Timestamp 1 internal 0 0 0 N/A N/A key value N/A N/A expected_info items N/A N/A msg N/A expected value for %r, %r != %r N/A key N/A full_info N/A key value N/A N/A N/A self assertEqual N/A full_info N/A key value msg N/A repl N/A N/A replicator ContainerReplicator N/A N/A N/A N/A self assertTrue N/A N/A repl report_up_to_date full_info N/A N/A full_info N/A delete_timestamp N/A N/A Timestamp 2 internal N/A N/A N/A self assertFalse N/A N/A repl report_up_to_date full_info N/A N/A full_info N/A reported_delete_timestamp N/A N/A Timestamp 2 internal N/A N/A N/A self assertTrue N/A N/A repl report_up_to_date full_info N/A N/A full_info N/A count 1 N/A N/A N/A self assertFalse N/A N/A repl report_up_to_date full_info N/A N/A full_info N/A reported_object_count 1 N/A N/A N/A self assertTrue N/A N/A repl report_up_to_date full_info N/A N/A full_info N/A bytes_used 1 N/A N/A N/A self assertFalse N/A N/A repl report_up_to_date full_info N/A N/A full_info N/A reported_bytes_used 1 N/A N/A N/A self assertTrue N/A N/A repl report_up_to_date full_info N/A N/A full_info N/A put_timestamp N/A N/A Timestamp 3 internal N/A N/A N/A self assertFalse N/A N/A repl report_up_to_date full_info N/A N/A full_info N/A reported_put_timestamp N/A N/A Timestamp 3 internal N/A N/A N/A self assertTrue N/A N/A repl report_up_to_date full_info N/A test_sync_remote_in_sync N/A N/A self N/A N/A N/A broker N/A N/A self _get_broker a c node_index 0 N/A put_timestamp N/A N/A time time N/A N/A N/A broker initialize put_timestamp N/A N/A POLICIES default idx N/A node N/A device replication_ip sdb 127.0.0.1 N/A daemon N/A N/A replicator ContainerReplicator N/A N/A N/A part node N/A N/A self _get_broker_part_node broker N/A info N/A N/A broker get_replication_info N/A success N/A N/A daemon _repl_to_node node broker part info N/A N/A N/A self assertTrue success N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A no_change N/A test_sync_remote_with_timings N/A N/A self N/A N/A N/A ts_iter N/A make_timestamp_iter N/A broker N/A N/A self _get_broker a c node_index 0 N/A put_timestamp N/A next ts_iter N/A N/A N/A broker initialize N/A put_timestamp internal N/A N/A POLICIES default idx N/A N/A N/A broker update_metadata N/A x-container-meta-test N/A foo N/A put_timestamp internal N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A remote_broker initialize N/A N/A next ts_iter internal N/A N/A POLICIES default idx N/A timestamp N/A next ts_iter N/A db N/A broker remote_broker N/A N/A N/A N/A db put_object /a/c/o N/A timestamp internal 0 content-type etag storage_policy_index N/A db storage_policy_index N/A daemon N/A N/A replicator ContainerReplicator N/A N/A N/A part node N/A N/A self _get_broker_part_node remote_broker N/A info N/A N/A broker get_replication_info N/A N/A N/A N/A mock patch object db_replicator DEBUG_TIMINGS_THRESHOLD -1 N/A N/A success N/A N/A daemon _repl_to_node node broker part info N/A N/A N/A self assertTrue success N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A no_change N/A expected_timings N/A info update_metadata merge_timestamps get_sync merge_syncs N/A debug_lines N/A N/A N/A N/A N/A self rpc logger logger get_lines_for_level debug N/A N/A N/A self assertEqual N/A len expected_timings N/A len debug_lines N/A Expected %s debug lines but only got %s: %s N/A N/A len expected_timings N/A len debug_lines debug_lines N/A metric expected_timings N/A N/A expected N/A replicator-rpc-sync time for %s: metric N/A N/A N/A self assertTrue N/A any N/A N/A expected line N/A line debug_lines N/A debug timing %r was not in %r N/A expected debug_lines N/A test_sync_remote_missing N/A N/A self N/A N/A N/A broker N/A N/A self _get_broker a c node_index 0 N/A put_timestamp N/A N/A time time N/A N/A N/A broker initialize put_timestamp N/A N/A POLICIES default idx N/A N/A part node N/A N/A self _get_broker_part_node broker N/A daemon N/A N/A self _run_once node N/A N/A N/A self assertEqual 2 N/A N/A daemon stats N/A rsync N/A i N/A range 1 3 N/A N/A remote_broker N/A N/A self _get_broker a c node_index i N/A N/A N/A self assertTrue N/A N/A N/A os path exists N/A remote_broker db_file N/A remote_info N/A N/A remote_broker get_info N/A local_info N/A N/A N/A N/A self _get_broker a c node_index 0 get_info N/A N/A k v N/A N/A local_info items N/A N/A N/A k id N/A N/A N/A N/A N/A self assertEqual N/A remote_info N/A k v N/A mismatch remote %s %r != %r N/A k N/A remote_info N/A k v N/A test_rsync_failure N/A N/A self N/A N/A N/A broker N/A N/A self _get_broker a c node_index 0 N/A put_timestamp N/A N/A time time N/A N/A N/A broker initialize put_timestamp N/A N/A POLICIES default idx N/A daemon N/A N/A replicator ContainerReplicator N/A _rsync_file N/A N/A N/A args kwargs N/A N/A False N/A N/A N/A daemon _rsync_file _rsync_file N/A N/A part local_node N/A N/A self _get_broker_part_node broker N/A node N/A N/A random choice N/A n N/A n N/A N/A self _ring devs N/A N/A n N/A id N/A local_node N/A id N/A info N/A N/A broker get_replication_info N/A success N/A N/A daemon _repl_to_node node broker part info N/A N/A N/A self assertFalse success N/A test_sync_remote_missing_most_rows N/A N/A self N/A N/A N/A put_timestamp N/A N/A time time N/A broker N/A N/A self _get_broker a c node_index 0 N/A N/A N/A broker initialize put_timestamp N/A N/A POLICIES default idx N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A remote_broker initialize put_timestamp N/A N/A POLICIES default idx N/A N/A N/A broker put_object /a/c/o N/A N/A time time 0 content-type etag storage_policy_index N/A broker storage_policy_index N/A node N/A device replication_ip sdc 127.0.0.1 N/A daemon N/A N/A replicator ContainerReplicator N/A per_diff 1 _rsync_file N/A N/A db_file remote_file N/A kwargs N/A N/A N/A remote_server remote_path N/A N/A remote_file split / 1 N/A dest_path N/A N/A N/A os path join N/A self root remote_path N/A N/A N/A shutil copy db_file dest_path N/A True N/A N/A N/A daemon _rsync_file _rsync_file N/A N/A part node N/A N/A self _get_broker_part_node remote_broker N/A info N/A N/A broker get_replication_info N/A success N/A N/A daemon _repl_to_node node broker part info N/A N/A N/A self assertTrue success N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A remote_merge N/A local_info N/A N/A N/A N/A self _get_broker a c node_index 0 get_info N/A remote_info N/A N/A N/A N/A self _get_broker a c node_index 1 get_info N/A N/A k v N/A N/A local_info items N/A N/A N/A k id N/A N/A N/A N/A N/A self assertEqual N/A remote_info N/A k v N/A mismatch remote %s %r != %r N/A k N/A remote_info N/A k v N/A test_sync_remote_missing_one_rows N/A N/A self N/A N/A N/A put_timestamp N/A N/A time time N/A broker N/A N/A self _get_broker a c node_index 0 N/A N/A N/A broker initialize put_timestamp N/A N/A POLICIES default idx N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A remote_broker initialize put_timestamp N/A N/A POLICIES default idx N/A i N/A range 10 N/A N/A put_timestamp N/A N/A time time N/A db N/A broker remote_broker N/A N/A path N/A /a/c/o_%s i N/A N/A N/A db put_object path put_timestamp 0 content-type etag storage_policy_index N/A db storage_policy_index N/A N/A N/A broker put_object /a/c/o_missing N/A N/A time time 0 content-type etag storage_policy_index N/A broker storage_policy_index N/A daemon N/A N/A replicator ContainerReplicator N/A N/A N/A part node N/A N/A self _get_broker_part_node remote_broker N/A info N/A N/A broker get_replication_info N/A success N/A N/A daemon _repl_to_node node broker part info N/A N/A N/A self assertTrue success N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A diff N/A local_info N/A N/A N/A N/A self _get_broker a c node_index 0 get_info N/A remote_info N/A N/A N/A N/A self _get_broker a c node_index 1 get_info N/A N/A k v N/A N/A local_info items N/A N/A N/A k id N/A N/A N/A N/A N/A self assertEqual N/A remote_info N/A k v N/A mismatch remote %s %r != %r N/A k N/A remote_info N/A k v N/A test_sync_remote_can_not_keep_up N/A N/A self N/A N/A N/A put_timestamp N/A N/A time time N/A broker N/A N/A self _get_broker a c node_index 0 N/A N/A N/A broker initialize put_timestamp N/A N/A POLICIES default idx N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A remote_broker initialize put_timestamp N/A N/A POLICIES default idx N/A i N/A range 10 N/A N/A put_timestamp N/A N/A time time N/A db N/A broker remote_broker N/A N/A obj_name N/A o_%s i N/A N/A N/A db put_object obj_name put_timestamp 0 content-type etag storage_policy_index N/A db storage_policy_index N/A missing_counter N/A N/A itertools count put_more_objects N/A N/A op N/A args N/A N/A N/A op merge_items N/A N/A N/A path N/A /a/c/o_missing_%s N/A next missing_counter N/A N/A N/A broker put_object path N/A N/A time time 0 content-type etag storage_policy_index N/A db storage_policy_index N/A N/A N/A test_db_replicator FakeReplConnection N/A N/A test_db_replicator attach_fake_replication_rpc N/A self rpc replicate_hook put_more_objects N/A N/A db_replicator ReplConnection N/A test_db_replicator FakeReplConnection N/A N/A put_more_objects merge_items N/A daemon N/A N/A replicator ContainerReplicator N/A max_diffs 10 N/A N/A part node N/A N/A self _get_broker_part_node remote_broker N/A info N/A N/A broker get_replication_info N/A success N/A N/A daemon _repl_to_node node broker part info N/A N/A N/A self assertFalse success N/A FakeReplConnection N/A N/A test_db_replicator attach_fake_replication_rpc N/A self rpc replicate_hook None N/A N/A db_replicator ReplConnection FakeReplConnection N/A info N/A N/A broker get_replication_info N/A success N/A N/A daemon _repl_to_node node broker part info N/A N/A N/A self assertTrue success N/A N/A N/A self assertEqual 2 N/A N/A daemon stats N/A diff N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A diff_capped N/A local_info N/A N/A N/A N/A self _get_broker a c node_index 0 get_info N/A remote_info N/A N/A N/A N/A self _get_broker a c node_index 1 get_info N/A N/A k v N/A N/A local_info items N/A N/A N/A k id N/A N/A N/A N/A N/A self assertEqual N/A remote_info N/A k v N/A mismatch remote %s %r != %r N/A k N/A remote_info N/A k v N/A test_diff_capped_sync N/A N/A self N/A N/A N/A ts N/A N/A N/A Timestamp t internal N/A t N/A N/A itertools count N/A int N/A N/A time time N/A put_timestamp N/A next ts N/A broker N/A N/A self _get_broker a c node_index 0 N/A N/A N/A broker initialize put_timestamp N/A N/A POLICIES default idx N/A i N/A range 50 N/A N/A N/A N/A broker put_object N/A o%s i N/A next ts 0 content-type-old etag storage_policy_index N/A broker storage_policy_index N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A remote_broker initialize put_timestamp N/A N/A POLICIES default idx N/A i N/A range 100 N/A N/A N/A N/A remote_broker put_object N/A o%s i N/A next ts 0 content-type-new etag storage_policy_index N/A remote_broker storage_policy_index N/A N/A N/A broker put_object o101 N/A next ts 0 content-type-new etag storage_policy_index N/A broker storage_policy_index N/A N/A part node N/A N/A self _get_broker_part_node broker N/A daemon N/A N/A self _get_daemon node conf_updates N/A per_diff max_diffs 10 3 N/A N/A N/A self assertEqual N/A daemon per_diff 10 N/A N/A N/A self assertEqual N/A daemon max_diffs 3 N/A N/A N/A self _run_once node daemon daemon N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A diff N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A diff_capped N/A N/A N/A self _run_once node daemon daemon N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A diff N/A N/A N/A self assertEqual 0 N/A N/A daemon stats N/A diff_capped N/A remote_names N/A set N/A item N/A N/A remote_broker list_objects_iter 500 N/A N/A N/A name ts size content_type etag item N/A N/A N/A remote_names add name N/A N/A N/A self assertEqual content_type content-type-new N/A N/A N/A self assertTrue N/A o101 remote_names N/A N/A N/A self assertEqual N/A len remote_names 101 N/A N/A N/A self assertEqual N/A N/A N/A remote_broker get_info N/A object_count 101 N/A test_sync_status_change N/A N/A self N/A N/A N/A broker N/A N/A self _get_broker a c node_index 0 N/A put_timestamp N/A N/A time time N/A N/A N/A broker initialize put_timestamp N/A N/A POLICIES default idx N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A remote_broker initialize put_timestamp N/A N/A POLICIES default idx N/A N/A N/A broker delete_db N/A N/A time time N/A daemon N/A N/A replicator ContainerReplicator N/A N/A N/A part node N/A N/A self _get_broker_part_node remote_broker N/A info N/A N/A broker get_replication_info N/A success N/A N/A daemon _repl_to_node node broker part info N/A N/A N/A self assertTrue success N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A no_change N/A N/A N/A self assertTrue N/A N/A remote_broker is_deleted N/A info N/A N/A broker get_info N/A remote_info N/A N/A remote_broker get_info N/A N/A N/A self assertTrue N/A N/A Timestamp N/A remote_info N/A status_changed_at N/A Timestamp N/A remote_info N/A put_timestamp N/A remote status_changed_at (%s) is not greater than put_timestamp (%s) N/A N/A remote_info N/A status_changed_at N/A remote_info N/A put_timestamp N/A N/A N/A self assertTrue N/A N/A Timestamp N/A remote_info N/A status_changed_at N/A Timestamp N/A info N/A status_changed_at N/A remote status_changed_at (%s) is not greater than local status_changed_at (%s) N/A N/A remote_info N/A status_changed_at N/A info N/A status_changed_at N/A _wrap_merge_timestamps N/A N/A self broker calls N/A N/A fake_merge_timestamps N/A N/A N/A args kwargs N/A N/A N/A N/A calls append N/A args N/A 0 N/A N/A orig_merge_timestamps args kwargs N/A N/A orig_merge_timestamps N/A broker merge_timestamps N/A N/A broker merge_timestamps fake_merge_timestamps N/A N/A N/A N/A True N/A N/A N/A broker merge_timestamps orig_merge_timestamps N/A contextmanager test_sync_merge_timestamps N/A N/A self N/A N/A N/A ts N/A N/A N/A Timestamp t internal N/A t N/A N/A itertools count N/A int N/A N/A time time N/A broker N/A N/A self _get_broker a c node_index 0 N/A put_timestamp N/A next ts N/A N/A N/A broker initialize put_timestamp N/A N/A POLICIES default idx N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A remote_put_timestamp N/A next ts N/A N/A N/A remote_broker initialize remote_put_timestamp N/A N/A POLICIES default idx N/A daemon N/A N/A replicator ContainerReplicator N/A N/A N/A part node N/A N/A self _get_broker_part_node remote_broker N/A info N/A N/A broker get_replication_info N/A local_calls N/A N/A remote_calls N/A N/A N/A N/A self _wrap_merge_timestamps broker local_calls N/A N/A N/A N/A self _wrap_merge_timestamps broker remote_calls N/A N/A success N/A N/A daemon _repl_to_node node broker part info N/A N/A N/A self assertTrue success N/A N/A N/A self assertEqual 1 N/A len remote_calls N/A N/A N/A self assertEqual 1 N/A len local_calls N/A N/A N/A self assertEqual remote_put_timestamp N/A N/A N/A broker get_info N/A put_timestamp N/A N/A N/A self assertEqual remote_put_timestamp N/A N/A N/A remote_broker get_info N/A put_timestamp N/A info N/A N/A broker get_replication_info N/A local_calls N/A N/A remote_calls N/A N/A N/A N/A self _wrap_merge_timestamps broker local_calls N/A N/A N/A N/A self _wrap_merge_timestamps broker remote_calls N/A N/A success N/A N/A daemon _repl_to_node node broker part info N/A N/A N/A self assertTrue success N/A N/A N/A self assertEqual 0 N/A len remote_calls N/A N/A N/A self assertEqual 0 N/A len local_calls N/A N/A N/A self assertEqual remote_put_timestamp N/A N/A N/A broker get_info N/A put_timestamp N/A N/A N/A self assertEqual remote_put_timestamp N/A N/A N/A remote_broker get_info N/A put_timestamp N/A test_sync_bogus_db_quarantines N/A N/A self N/A N/A N/A ts N/A N/A N/A Timestamp t internal N/A t N/A N/A itertools count N/A int N/A N/A time time N/A policy N/A N/A random choice N/A list POLICIES N/A local_broker N/A N/A self _get_broker a c node_index 0 N/A N/A N/A local_broker initialize N/A next ts N/A policy idx N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A remote_broker initialize N/A next ts N/A policy idx N/A db_path N/A local_broker db_file N/A N/A N/A self assertTrue N/A N/A N/A os path exists db_path N/A old_inode N/A N/A N/A os stat db_path st_ino N/A _orig_get_info N/A N/A backend ContainerBroker get_info fail_like_bad_db N/A N/A broker N/A N/A N/A N/A N/A broker db_file N/A local_broker db_file N/A N/A N/A N/A sqlite3 OperationalError no such table: container_info N/A N/A N/A _orig_get_info broker N/A N/A N/A part node N/A N/A self _get_broker_part_node remote_broker N/A N/A N/A mock patch swift.container.backend.ContainerBroker.get_info fail_like_bad_db N/A N/A daemon N/A N/A self _run_once node N/A N/A N/A self assertTrue N/A N/A N/A os path exists db_path N/A new_inode N/A N/A N/A os stat db_path st_ino N/A N/A N/A self assertNotEqual old_inode new_inode N/A N/A N/A self assertEqual N/A N/A daemon stats N/A failure 0 N/A _replication_scenarios N/A N/A self N/A scenarios kwargs N/A N/A remote_wins N/A N/A kwargs get remote_wins False N/A scenarios N/A scenarios N/A no_row local_row remote_row both_rows N/A scenario_name scenarios N/A N/A ts N/A N/A itertools count N/A int N/A N/A time time N/A policy N/A N/A random choice N/A list POLICIES N/A remote_policy N/A N/A random choice N/A p N/A p POLICIES N/A p policy N/A broker N/A N/A self _get_broker a c node_index 0 N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A ts policy remote_policy broker remote_broker N/A variations N/A no_row local_row remote_row both_rows N/A N/A broker N/A remote_broker N/A broker remote_broker N/A dbs N/A variations N/A scenario_name N/A obj_ts N/A next ts N/A db dbs N/A N/A N/A N/A db put_object /a/c/o obj_ts 0 content-type etag storage_policy_index N/A db storage_policy_index N/A N/A part node N/A N/A self _get_broker_part_node broker N/A daemon N/A N/A self _run_once node N/A N/A N/A self assertEqual 0 N/A N/A daemon stats N/A failure N/A local_info N/A N/A N/A N/A self _get_broker a c node_index 0 get_info N/A remote_info N/A N/A N/A N/A self _get_broker a c node_index 1 get_info N/A remote_wins N/A N/A expected N/A remote_policy idx N/A err N/A local policy did not change to match remote for replication row scenario %s scenario_name N/A N/A expected N/A policy idx N/A err N/A local policy changed to match remote for replication row scenario %s scenario_name N/A N/A N/A self assertEqual N/A local_info N/A storage_policy_index expected err N/A N/A N/A self assertEqual N/A remote_info N/A storage_policy_index N/A local_info N/A storage_policy_index N/A N/A N/A N/A test_db_replicator TestReplicatorSync tearDown self N/A N/A N/A N/A test_db_replicator TestReplicatorSync setUp self N/A test_sync_local_create_policy_over_newer_remote_create N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A test_sync_local_create_policy_over_newer_remote_delete N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A remote_broker delete_db N/A next ts N/A test_sync_local_create_policy_over_older_remote_delete N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios no_row local_row N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A remote_broker delete_db N/A next ts N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A test_sync_local_half_delete_policy_over_newer_remote_create N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios local_row both_rows N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A broker delete_db N/A next ts N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A test_sync_local_recreate_policy_over_newer_remote_create N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A broker delete_db N/A next ts N/A recreate_timestamp N/A next ts N/A N/A N/A broker update_put_timestamp recreate_timestamp N/A N/A N/A broker update_status_changed_at recreate_timestamp N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A test_sync_local_recreate_policy_over_older_remote_create N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A broker delete_db N/A next ts N/A recreate_timestamp N/A next ts N/A N/A N/A broker update_put_timestamp recreate_timestamp N/A N/A N/A broker update_status_changed_at recreate_timestamp N/A test_sync_local_recreate_policy_over_newer_remote_delete N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A broker delete_db N/A next ts N/A recreate_timestamp N/A next ts N/A N/A N/A broker update_put_timestamp recreate_timestamp N/A N/A N/A broker update_status_changed_at recreate_timestamp N/A N/A N/A remote_broker delete_db N/A next ts N/A test_sync_local_recreate_policy_over_older_remote_delete N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A remote_broker delete_db N/A next ts N/A N/A N/A broker delete_db N/A next ts N/A recreate_timestamp N/A next ts N/A N/A N/A broker update_put_timestamp recreate_timestamp N/A N/A N/A broker update_status_changed_at recreate_timestamp N/A test_sync_local_recreate_policy_over_older_remote_recreate N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A remote_broker delete_db N/A next ts N/A remote_recreate_timestamp N/A next ts N/A N/A N/A remote_broker update_put_timestamp remote_recreate_timestamp N/A N/A N/A remote_broker update_status_changed_at remote_recreate_timestamp N/A N/A N/A broker delete_db N/A next ts N/A local_recreate_timestamp N/A next ts N/A N/A N/A broker update_put_timestamp local_recreate_timestamp N/A N/A N/A broker update_status_changed_at local_recreate_timestamp N/A test_sync_remote_create_policy_over_newer_local_create N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios remote_wins True N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A test_sync_remote_create_policy_over_newer_local_delete N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios remote_wins True N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A broker delete_db N/A next ts N/A test_sync_remote_create_policy_over_older_local_delete N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios no_row remote_row remote_wins True N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A broker delete_db N/A next ts N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A test_sync_remote_half_delete_policy_over_newer_local_create N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios remote_row both_rows remote_wins True N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A remote_broker delete_db N/A next ts N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A test_sync_remote_recreate_policy_over_newer_local_create N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios remote_wins True N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A remote_broker delete_db N/A next ts N/A recreate_timestamp N/A next ts N/A N/A N/A remote_broker update_put_timestamp recreate_timestamp N/A N/A N/A remote_broker update_status_changed_at recreate_timestamp N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A test_sync_remote_recreate_policy_over_older_local_create N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios remote_wins True N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A remote_broker delete_db N/A next ts N/A recreate_timestamp N/A next ts N/A N/A N/A remote_broker update_put_timestamp recreate_timestamp N/A N/A N/A remote_broker update_status_changed_at recreate_timestamp N/A test_sync_remote_recreate_policy_over_newer_local_delete N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios remote_wins True N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A remote_broker delete_db N/A next ts N/A remote_recreate_timestamp N/A next ts N/A N/A N/A remote_broker update_put_timestamp remote_recreate_timestamp N/A N/A N/A remote_broker update_status_changed_at remote_recreate_timestamp N/A N/A N/A broker delete_db N/A next ts N/A test_sync_remote_recreate_policy_over_older_local_delete N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios remote_wins True N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A broker delete_db N/A next ts N/A N/A N/A remote_broker delete_db N/A next ts N/A remote_recreate_timestamp N/A next ts N/A N/A N/A remote_broker update_put_timestamp remote_recreate_timestamp N/A N/A N/A remote_broker update_status_changed_at remote_recreate_timestamp N/A test_sync_remote_recreate_policy_over_older_local_recreate N/A N/A self N/A N/A N/A setup N/A N/A self _replication_scenarios remote_wins True N/A N/A N/A ts policy remote_policy broker remote_broker setup N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A broker delete_db N/A next ts N/A local_recreate_timestamp N/A next ts N/A N/A N/A broker update_put_timestamp local_recreate_timestamp N/A N/A N/A broker update_status_changed_at local_recreate_timestamp N/A N/A N/A remote_broker delete_db N/A next ts N/A remote_recreate_timestamp N/A next ts N/A N/A N/A remote_broker update_put_timestamp remote_recreate_timestamp N/A N/A N/A remote_broker update_status_changed_at remote_recreate_timestamp N/A test_sync_to_remote_with_misplaced N/A N/A self N/A N/A N/A ts N/A N/A N/A Timestamp t internal N/A t N/A N/A itertools count N/A int N/A N/A time time N/A policy N/A N/A random choice N/A list POLICIES N/A broker N/A N/A self _get_broker a c node_index 0 N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A remote_policy N/A N/A random choice N/A p N/A p POLICIES N/A p policy N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A N/A N/A remote_broker put_object /a/c/o N/A next ts 0 content-type etag storage_policy_index N/A remote_broker storage_policy_index N/A N/A N/A self assertEqual N/A N/A N/A remote_broker get_info N/A object_count 1 N/A N/A N/A self assertEqual N/A N/A N/A remote_broker get_misplaced_since -1 1 N/A N/A part node N/A N/A self _get_broker_part_node broker N/A daemon N/A N/A self _run_once node N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A no_change N/A N/A N/A self assertEqual 0 N/A N/A N/A broker get_info N/A object_count N/A info N/A N/A remote_broker get_info N/A expectations N/A object_count storage_policy_index 0 N/A policy idx N/A N/A key value N/A N/A expectations items N/A N/A N/A N/A self assertEqual N/A info N/A key value N/A misplaced N/A N/A remote_broker get_misplaced_since -1 100 N/A N/A N/A self assertEqual N/A len misplaced 1 N/A N/A N/A self assertEqual 1 N/A N/A daemon stats N/A rsync N/A third_broker N/A N/A self _get_broker a c node_index 2 N/A info N/A N/A third_broker get_info N/A N/A key value N/A N/A expectations items N/A N/A N/A N/A self assertEqual N/A info N/A key value N/A test_misplaced_rows_replicate_and_enqueue N/A N/A self N/A N/A N/A ts N/A N/A Timestamp t N/A t N/A N/A itertools count N/A N/A N/A int N/A N/A time time 3600 3600 N/A policy N/A N/A random choice N/A list POLICIES N/A broker N/A N/A self _get_broker a c node_index 0 N/A N/A N/A broker initialize N/A N/A next ts internal N/A policy idx N/A remote_policy N/A N/A random choice N/A p N/A p POLICIES N/A p policy N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A remote_broker initialize N/A N/A next ts internal N/A remote_policy idx N/A obj_put_timestamp N/A N/A next ts internal N/A N/A N/A broker put_object o obj_put_timestamp 0 content-type etag storage_policy_index N/A remote_policy idx N/A misplaced N/A N/A broker get_misplaced_since -1 10 N/A N/A N/A self assertEqual N/A len misplaced 1 N/A N/A N/A self assertEqual N/A N/A N/A broker get_info N/A object_count 0 N/A ts_data N/A next ts N/A ts_ctype N/A next ts N/A ts_meta N/A next ts N/A N/A N/A broker put_object o2 N/A ts_data internal 0 content-type etag storage_policy_index N/A remote_policy idx ctype_timestamp N/A ts_ctype internal meta_timestamp N/A ts_meta internal N/A misplaced N/A N/A broker get_misplaced_since -1 10 N/A N/A N/A self assertEqual N/A len misplaced 2 N/A N/A N/A self assertEqual N/A N/A N/A broker get_info N/A object_count 0 N/A N/A part node N/A N/A self _get_broker_part_node broker N/A daemon N/A N/A self _run_once node N/A N/A N/A self assertTrue N/A 2 N/A N/A daemon stats N/A rsync 3 N/A N/A daemon stats N/A rsync N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A misplaced N/A N/A remote_broker get_misplaced_since -1 10 N/A N/A N/A self assertEqual N/A len misplaced 2 N/A info N/A N/A remote_broker get_info N/A expectations N/A object_count storage_policy_index 0 N/A policy idx N/A N/A key value N/A N/A expectations items N/A N/A N/A N/A self assertEqual N/A info N/A key value N/A reconciler N/A N/A daemon get_reconciler_broker N/A N/A misplaced N/A 0 N/A created_at N/A reconciler N/A N/A self _get_broker N/A reconciler account N/A reconciler container node_index 0 N/A N/A N/A self assertEqual N/A N/A N/A reconciler get_info N/A object_count 2 N/A objects N/A N/A reconciler list_objects_iter 10 None None None None storage_policy_index 0 N/A N/A N/A self assertEqual N/A len objects 2 N/A expected N/A N/A %s:/a/c/o N/A remote_policy idx obj_put_timestamp 0 application/x-put obj_put_timestamp N/A N/A N/A self assertEqual N/A objects N/A 0 expected N/A expected N/A N/A %s:/a/c/o2 N/A remote_policy idx N/A ts_meta internal 0 application/x-put N/A encode_timestamps ts_data ts_ctype ts_meta N/A N/A N/A self assertEqual N/A objects N/A 1 expected N/A N/A N/A self assertEqual N/A N/A broker get_reconciler_sync 2 N/A test_multiple_out_sync_reconciler_enqueue_normalize N/A N/A self N/A N/A N/A ts N/A N/A N/A Timestamp t internal N/A t N/A N/A itertools count N/A int N/A N/A time time N/A policy N/A N/A random choice N/A list POLICIES N/A broker N/A N/A self _get_broker a c node_index 0 N/A N/A N/A broker initialize N/A next ts N/A policy idx N/A remote_policy N/A N/A random choice N/A p N/A p POLICIES N/A p policy N/A remote_broker N/A N/A self _get_broker a c node_index 1 N/A N/A N/A remote_broker initialize N/A next ts N/A remote_policy idx N/A db N/A broker remote_broker N/A N/A p N/A policy remote_policy N/A N/A N/A N/A db put_object N/A o-%s N/A p name N/A next ts 0 content-type etag storage_policy_index N/A p idx N/A N/A N/A db _commit_puts N/A expected_policy_stats N/A N/A policy idx N/A remote_policy idx N/A object_count bytes_used 1 0 N/A object_count bytes_used 1 0 N/A db N/A broker remote_broker N/A N/A policy_stats N/A N/A db get_policy_stats N/A N/A N/A self assertEqual policy_stats expected_policy_stats N/A all_items N/A set N/A db N/A broker remote_broker N/A N/A items N/A N/A db get_items_since -1 4 N/A N/A N/A all_items update N/A N/A N/A item N/A name N/A item N/A created_at N/A item items N/A N/A N/A self assertEqual 4 N/A len all_items N/A N/A part node N/A N/A self _get_broker_part_node broker N/A N/A N/A self _run_once node N/A N/A part node N/A N/A self _get_broker_part_node remote_broker N/A N/A N/A self _run_once node N/A most_recent_items N/A N/A N/A name timestamp all_items N/A N/A N/A most_recent_items N/A name N/A max timestamp N/A N/A most_recent_items get name -1 N/A N/A N/A self assertEqual 2 N/A len most_recent_items N/A db N/A broker remote_broker N/A N/A items N/A N/A db get_items_since -1 4 N/A N/A N/A self assertEqual N/A len items N/A len most_recent_items N/A item items N/A N/A N/A N/A self assertEqual N/A most_recent_items N/A N/A item N/A name N/A item N/A created_at N/A reconciler_containers N/A set N/A item all_items N/A N/A N/A _name timestamp item N/A N/A N/A reconciler_containers add N/A get_reconciler_container_name timestamp N/A reconciler_items N/A set N/A reconciler_container reconciler_containers N/A N/A node_index N/A range 3 N/A N/A reconciler N/A N/A self _get_broker MISPLACED_OBJECTS_ACCOUNT reconciler_container node_index node_index N/A items N/A N/A reconciler get_items_since -1 4 N/A N/A N/A reconciler_items update N/A N/A N/A item N/A name N/A item N/A created_at N/A item items N/A N/A N/A self assertEqual 1 N/A len reconciler_items N/A N/A reconciler_name timestamp reconciler_items N/A N/A N/A _policy_index path N/A N/A reconciler_name split : 1 N/A N/A a c name N/A N/A N/A N/A path lstrip / split / N/A N/A N/A self assertEqual N/A most_recent_items N/A name timestamp N/A _wrap_update_reconciler_sync N/A N/A self broker calls N/A N/A wrapper_function N/A N/A N/A args kwargs N/A N/A N/A N/A calls append args N/A N/A orig_function args kwargs N/A N/A orig_function N/A broker update_reconciler_sync N/A N/A broker update_reconciler_sync wrapper_function N/A N/A N/A N/A True N/A N/A N/A broker update_reconciler_sync orig_function N/A contextmanager test_post_replicate_hook N/A N/A self N/A N/A N/A ts N/A N/A N/A Timestamp t internal N/A t N/A N/A itertools count N/A int N/A N/A time time N/A broker N/A N/A self _get_broker a c node_index 0 N/A N/A N/A broker initialize N/A next ts 0 N/A N/A N/A broker put_object foo N/A next ts 0 text/plain xyz deleted 0 storage_policy_index 0 N/A info N/A N/A broker get_replication_info N/A N/A N/A self assertEqual 1 N/A info N/A max_row N/A N/A N/A self assertEqual -1 N/A N/A broker get_reconciler_sync N/A daemon N/A N/A replicator ContainerReplicator N/A N/A calls N/A N/A N/A N/A self _wrap_update_reconciler_sync broker calls N/A N/A N/A N/A daemon _post_replicate_hook broker info N/A N/A N/A N/A self assertEqual 1 N/A len calls N/A calls N/A N/A N/A N/A self _wrap_update_reconciler_sync broker calls N/A N/A N/A N/A daemon _post_replicate_hook broker info N/A N/A N/A N/A self assertEqual 0 N/A len calls N/A test_update_sync_store_exception N/A N/A self N/A N/A FakeContainerSyncStore N/A object N/A update_sync_store N/A N/A self broker N/A N/A N/A N/A OSError 1 1 N/A N/A N/A logger N/A FakeLogger N/A daemon N/A N/A replicator ContainerReplicator N/A logger N/A N/A daemon sync_store N/A FakeContainerSyncStore N/A ts_iter N/A make_timestamp_iter N/A broker N/A N/A self _get_broker a c node_index 0 N/A timestamp N/A next ts_iter N/A N/A N/A broker initialize N/A timestamp internal N/A N/A POLICIES default idx N/A info N/A N/A broker get_replication_info N/A N/A N/A daemon _post_replicate_hook broker info N/A N/A log_lines N/A N/A logger get_lines_for_level error N/A N/A N/A self assertEqual 1 N/A len log_lines N/A N/A N/A self assertIn Failed to update sync_store N/A log_lines N/A 0 N/A test_update_sync_store N/A N/A self N/A N/A N/A klass swift.container.sync_store.ContainerSyncStore N/A daemon N/A N/A replicator ContainerReplicator N/A N/A N/A daemon sync_store N/A N/A sync_store ContainerSyncStore N/A daemon root N/A daemon logger N/A daemon mount_check N/A ts_iter N/A make_timestamp_iter N/A broker N/A N/A self _get_broker a c node_index 0 N/A timestamp N/A next ts_iter N/A N/A N/A broker initialize N/A timestamp internal N/A N/A POLICIES default idx N/A info N/A N/A broker get_replication_info N/A N/A N/A mock patch N/A klass .remove_synced_container mock_remove N/A N/A N/A N/A mock patch N/A klass .add_synced_container mock_add N/A N/A N/A N/A daemon _post_replicate_hook broker info N/A N/A N/A N/A self assertEqual 0 N/A mock_remove call_count N/A N/A N/A self assertEqual 0 N/A mock_add call_count N/A timestamp N/A next ts_iter N/A N/A N/A broker update_metadata N/A X-Container-Sync-To X-Container-Sync-Key N/A N/A timestamp internal N/A N/A timestamp internal N/A N/A N/A mock patch N/A klass .remove_synced_container mock_remove N/A N/A N/A N/A mock patch N/A klass .add_synced_container mock_add N/A N/A N/A N/A daemon _post_replicate_hook broker info N/A N/A N/A N/A self assertEqual 0 N/A mock_add call_count N/A N/A N/A mock_remove assert_called_once_with broker N/A timestamp N/A next ts_iter N/A N/A N/A broker update_metadata N/A X-Container-Sync-To N/A a N/A timestamp internal N/A N/A N/A mock patch N/A klass .remove_synced_container mock_remove N/A N/A N/A N/A mock patch N/A klass .add_synced_container mock_add N/A N/A N/A N/A daemon _post_replicate_hook broker info N/A N/A N/A N/A self assertEqual 0 N/A mock_add call_count N/A N/A N/A mock_remove assert_called_once_with broker N/A timestamp N/A next ts_iter N/A N/A N/A broker update_metadata N/A X-Container-Sync-To X-Container-Sync-Key N/A N/A timestamp internal N/A secret N/A timestamp internal N/A N/A N/A mock patch N/A klass .remove_synced_container mock_remove N/A N/A N/A N/A mock patch N/A klass .add_synced_container mock_add N/A N/A N/A N/A daemon _post_replicate_hook broker info N/A N/A N/A N/A self assertEqual 0 N/A mock_add call_count N/A N/A N/A mock_remove assert_called_once_with broker N/A timestamp N/A next ts_iter N/A N/A N/A broker update_metadata N/A X-Container-Sync-To X-Container-Sync-Key N/A a N/A timestamp internal N/A secret N/A timestamp internal N/A N/A N/A mock patch N/A klass .remove_synced_container mock_remove N/A N/A N/A N/A mock patch N/A klass .add_synced_container mock_add N/A N/A N/A N/A daemon _post_replicate_hook broker info N/A N/A N/A N/A mock_add assert_called_once_with broker N/A N/A N/A self assertEqual 0 N/A mock_remove call_count N/A timestamp N/A next ts_iter N/A N/A N/A broker delete_db N/A timestamp internal N/A N/A N/A broker update_metadata N/A X-Container-Sync-To X-Container-Sync-Key N/A a N/A timestamp internal N/A secret N/A timestamp internal N/A N/A N/A mock patch N/A klass .remove_synced_container mock_remove N/A N/A N/A N/A mock patch N/A klass .add_synced_container mock_add N/A N/A N/A N/A daemon _post_replicate_hook broker info N/A N/A N/A N/A self assertEqual 0 N/A mock_add call_count N/A N/A N/A mock_remove assert_called_once_with broker N/A test_sync_triggers_sync_store_update N/A N/A self N/A N/A N/A klass swift.container.sync_store.ContainerSyncStore N/A ts_iter N/A make_timestamp_iter N/A broker_1 N/A N/A self _get_broker a c node_index 0 N/A N/A N/A broker_1 initialize N/A N/A next ts_iter internal N/A N/A POLICIES default idx N/A broker_2 N/A N/A self _get_broker b d node_index 0 N/A N/A N/A broker_2 initialize N/A N/A next ts_iter internal N/A N/A POLICIES default idx N/A N/A N/A broker_2 update_metadata N/A X-Container-Sync-To X-Container-Sync-Key N/A a N/A N/A next ts_iter internal N/A secret N/A N/A next ts_iter internal N/A N/A part node N/A N/A self _get_broker_part_node broker_1 N/A N/A N/A mock patch N/A klass .remove_synced_container mock_remove N/A N/A N/A N/A mock patch N/A klass .add_synced_container mock_add N/A N/A N/A N/A self _run_once node N/A N/A N/A self assertEqual 1 N/A mock_add call_count N/A N/A N/A self assertEqual N/A broker_2 db_file N/A N/A N/A N/A mock_add call_args N/A 0 N/A 0 db_file N/A N/A N/A self assertEqual 0 N/A mock_remove call_count N/A N/A N/A broker_2 update_metadata N/A X-Container-Sync-To N/A N/A N/A next ts_iter internal N/A N/A part node N/A N/A self _get_broker_part_node broker_2 N/A N/A N/A mock patch N/A klass .remove_synced_container mock_remove N/A N/A N/A N/A mock patch N/A klass .add_synced_container mock_add N/A N/A N/A N/A self _run_once node N/A N/A N/A self assertEqual 0 N/A mock_add call_count N/A N/A N/A self assertEqual 1 N/A mock_remove call_count N/A N/A N/A self assertEqual N/A broker_2 db_file N/A N/A N/A N/A mock_remove call_args N/A 0 N/A 0 db_file N/A N/A patch_policies N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main