Module Import alias Import alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd NameLoad SubscriptLoad NameLoad Index Num body Return If BoolOpAnd NameLoad NameLoad body Assign NameStore NameLoad If BoolOpAnd UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body If UnaryOpNot SubscriptLoad NameLoad Index Num body Assign NameStore Num If UnaryOpNot SubscriptLoad NameLoad Index Num body Assign NameStore NameLoad orelse Assign NameStore NameLoad orelse Assign NameStore CompareIn NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad Str For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Dict For NameStore SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr For TupleStore NameStore NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Num NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict NameLoad NameLoad orelse Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad Str For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad Delete NameDel Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad For TupleStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Expr Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index NameLoad NameLoad Delete NameDel If CompareIsNot NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BoolOpAnd UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr Str UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr Str CompareNotIn Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr orelse If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad keyword NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad NameLoad BinOpMod Str SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Index Num Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad If Call NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ListComp BinOpAdd NameLoad TupleLoad NameLoad comprehension NameStore NameLoad ListLoad Str Str Str Str Str Str Str Assign NameStore ListLoad For TupleStore TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad If Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body AugAssignBitOr NameStore AttributeLoad NameLoad attr Assert BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad Call AttributeLoad NameLoad attr Assert BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad Call AttributeLoad NameLoad attr Index Num Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr If Call NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Str For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad Call NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore ListComp TupleLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore ListComp TupleLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ListComp TupleLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr comprehension NameStore NameLoad ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad GeneratorExp TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad GeneratorExp TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareEq NameLoad Str body If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If UnaryOpNot NameLoad body Raise NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore NameLoad While UnaryOpNot NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Return NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num orelse If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr orelse Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str GeneratorExp TupleLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad ListLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIsNot NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad TupleLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore SubscriptLoad ListComp NameLoad comprehension NameStore NameLoad Index Num If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore ListLoad For TupleStore NameStore TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad ListLoad Str Str Str Str keyword NameLoad Delete NameDel Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad If UnaryOpNot NameLoad body For NameStore Call NameLoad Call NameLoad NameLoad body Expr Yield NameLoad Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ListComp SubscriptLoad NameLoad Slice Num Num comprehension NameStore NameLoad ListLoad Str Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Expr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareIn SubscriptLoad NameLoad Index Num NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad TupleLoad If BoolOpOr NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str If NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad While NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Num While CompareLt NameLoad NameLoad body AugAssignAdd NameStore Num Expr Yield NameLoad AugAssignAdd NameStore Num Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore TupleLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad SubscriptLoad NameLoad Index Num NameLoad keyword NameLoad keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr While CompareEq SubscriptLoad NameLoad Index Num NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore CompareNotEq BinOpBitAnd NameLoad AttributeLoad NameLoad attr Num Assign NameStore CompareNotEq BinOpBitAnd NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore Dict TryExcept body Assign NameStore Call AttributeLoad NameLoad attr While CompareEq SubscriptLoad NameLoad Index Num NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass TryExcept body Assign NameStore Call AttributeLoad NameLoad attr While CompareEq SubscriptLoad NameLoad Index Num NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If NameLoad body Expr Yield TupleLoad NameLoad NameLoad orelse Expr Yield NameLoad While CompareLt NameLoad Call NameLoad NameLoad body AugAssignAdd NameStore Num Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad For TupleStore NameStore NameLoad body If CompareIs NameLoad NameLoad body Continue Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Str If NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Yield TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Expr Yield TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Return Dict Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Delete NameDel Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TryExcept body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Return ListLoad Assert BoolOpOr CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad CompareIsNot SubscriptLoad NameLoad Index Num NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr GeneratorExp BinOpMod Str NameLoad comprehension NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr GeneratorExp BinOpMod Str NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad If CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str For TupleStore NameStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assert Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assert Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad ListLoad Str Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Dict For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Assign NameStore NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Return NameLoad decorator_list decorator_list
N/A N/A os N/A itertools conary files trove versions changelog callbacks conary.cmds metadata conary.dbstore idtable conary.deps deps conary.lib util tracelog conary.local deptable conary.local.sqldb VersionCache FlavorCache conary.local versiontable conary.repository errors conary.repository.netrepos instances items keytable flavors troveinfo versionops cltable accessmap conary.server schema TroveAdder N/A N/A addStream N/A N/A self fileId fileStream withContents N/A None True N/A N/A existing N/A N/A N/A self newStreamsByFileId get fileId N/A N/A existing N/A existing N/A 1 N/A N/A N/A N/A fileStream withContents N/A N/A sha1 None N/A N/A N/A N/A N/A N/A N/A files frozenFileFlags fileStream isEncapsulatedContent N/A N/A files frozenFileHasContents fileStream N/A N/A cont N/A N/A files frozenFileContentInfo fileStream N/A sha1 N/A N/A cont sha1 N/A N/A sha1 None N/A N/A N/A self newStreamsByFileId N/A fileId N/A N/A N/A N/A self cu binary fileId N/A N/A N/A self cu binary fileStream N/A N/A N/A self cu binary sha1 N/A addFile N/A N/A self pathId path fileId fileVersion fileStream withContents N/A None True N/A N/A N/A dirname basename N/A N/A N/A os path split path N/A pathChanged 1 N/A versionId N/A N/A N/A self troveStore getVersionId fileVersion N/A N/A N/A N/A self newFilesInsertList append N/A N/A N/A N/A self cu binary pathId versionId N/A N/A N/A self cu binary fileId N/A N/A self dirMap N/A dirname N/A N/A self baseMap N/A basename pathChanged N/A changeInfo N/A N/A N/A self changeMap get pathId None N/A changeInfo N/A N/A N/A N/A changeInfo N/A 1 N/A N/A pathChanged 0 N/A N/A N/A changeInfo N/A 3 N/A N/A versionChanged False N/A N/A versionChanged True N/A N/A versionChanged N/A pathId N/A self newSet N/A N/A versionChanged N/A N/A fileStream None N/A N/A N/A self addStream fileId fileStream fileStream withContents withContents N/A __init__ N/A N/A self troveStore cu trv trvCs hidden newSet changeMap dirMap baseMap newStreamsByFileId N/A N/A N/A N/A self troveStore troveStore N/A N/A self cu cu N/A N/A self trv trv N/A N/A self trvCs trvCs N/A N/A self hidden hidden N/A N/A self newFilesInsertList N/A N/A N/A self newStreamsByFileId newStreamsByFileId N/A N/A self newSet newSet N/A N/A self changeMap changeMap N/A N/A self dirMap dirMap N/A N/A self baseMap baseMap N/A N/A TroveStore N/A N/A __init__ N/A N/A self db log N/A None N/A N/A N/A self db db N/A N/A self items N/A N/A items Items N/A self db N/A N/A self flavors N/A N/A flavors Flavors N/A self db N/A N/A self branchTable N/A N/A versionops BranchTable N/A self db N/A N/A self changeLogs N/A N/A cltable ChangeLogTable N/A self db N/A N/A self versionTable N/A N/A versiontable VersionTable N/A self db N/A N/A self versionOps N/A N/A versionops SqlVersioning N/A self db N/A self versionTable N/A self branchTable N/A N/A self instances N/A N/A instances InstanceTable N/A self db N/A N/A self latest N/A N/A versionops LatestTable N/A self db N/A N/A self ri N/A N/A accessmap RoleInstances N/A self db N/A N/A self keyTable N/A N/A keytable OpenPGPKeyTable N/A self db N/A N/A self depTables N/A N/A deptable DependencyTables N/A self db N/A N/A self metadataTable N/A N/A metadata MetadataTable N/A self db create False N/A N/A self troveInfoTable N/A N/A troveinfo TroveInfoTable N/A self db N/A N/A self needsCleanup False N/A N/A self log N/A log N/A N/A tracelog getLog None N/A N/A self versionIdCache N/A N/A N/A self itemIdCache N/A N/A __del__ N/A N/A self N/A N/A N/A N/A self db N/A self log None N/A getLabelId N/A N/A self label N/A N/A N/A N/A N/A N/A N/A self versionOps labels getOrAddId label N/A getItemId N/A N/A self item N/A N/A N/A itemId N/A N/A N/A self itemIdCache get item None N/A N/A itemId None N/A N/A itemId N/A itemId N/A N/A N/A self items get item None N/A N/A itemId None N/A N/A itemId N/A N/A N/A self items addId item N/A N/A N/A self itemIdCache N/A item itemId N/A itemId N/A getInstanceId N/A N/A self itemId versionId flavorId clonedFromId troveType isPresent N/A N/A instances INSTANCE_PRESENT_NORMAL N/A N/A theId N/A N/A N/A self instances get N/A itemId versionId flavorId None N/A N/A theId None N/A N/A theId N/A N/A N/A self instances addId itemId versionId flavorId clonedFromId troveType isPresent isPresent N/A N/A isPresent N/A instances INSTANCE_PRESENT_MISSING N/A N/A N/A N/A N/A self instances update theId isPresent isPresent clonedFromId clonedFromId N/A N/A N/A N/A self items setTroveFlag itemId 1 N/A theId N/A getVersionId N/A N/A self version N/A N/A N/A theId N/A N/A N/A self versionIdCache get version None N/A theId N/A N/A theId N/A theId N/A N/A N/A self versionTable get version None N/A N/A theId None N/A N/A theId N/A N/A N/A self versionTable addId version N/A N/A N/A self versionIdCache N/A version theId N/A theId N/A getFullVersion N/A N/A self item version N/A N/A N/A 
        Updates version with full timestamp information.
         N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute 
        SELECT timeStamps
        FROM Nodes
        WHERE itemId=(SELECT itemId FROM Items WHERE item=?)
          AND versionId=(SELECT versionId FROM Versions WHERE version=?)
         item N/A N/A version asString N/A timeStamps N/A N/A N/A cu fetchone N/A 0 N/A N/A N/A version setTimeStamps N/A N/A float x N/A x N/A N/A timeStamps split : N/A createTroveBranch N/A N/A self troveName branch N/A N/A N/A itemId N/A N/A self getItemId troveName N/A N/A N/A N/A self versionOps createBranch itemId branch N/A getTroveFlavors N/A N/A self troveDict N/A N/A N/A cu N/A N/A N/A self db cursor N/A vMap N/A N/A outD N/A N/A N/A N/A schema resetTable cu tmpIVF N/A troveName N/A N/A troveDict keys N/A N/A N/A outD N/A troveName N/A N/A version N/A troveDict N/A troveName N/A N/A N/A N/A outD N/A troveName N/A version N/A N/A versionStr N/A N/A version asString N/A N/A vMap N/A versionStr version N/A N/A N/A cu execute INSERT INTO tmpIVF VALUES (?, ?, ?) N/A troveName versionStr versionStr start_transaction False N/A N/A N/A N/A self db analyze tmpIVF N/A N/A N/A cu execute 
        SELECT Items.item, fullVersion, Flavors.flavor
        FROM tmpIVF
        JOIN Items on tmpIVF.item = Items.item
        JOIN Versions on tmpIVF.version = Versions.version
        JOIN Instances on
            Items.itemId = Instances.itemId AND
            Versions.versionId = Instances.versionId
        JOIN Flavors using (flavorId)
        ORDER BY Items.item, fullVersion
         N/A N/A item verString flavor cu N/A N/A ver N/A vMap N/A verString N/A N/A N/A N/A N/A outD N/A item N/A ver append flavor N/A outD N/A iterTroveNames N/A N/A self N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute 
        SELECT DISTINCT Items.item as item
        FROM Instances
        JOIN Items USING(itemId)
        WHERE Instances.isPresent = ?
        ORDER BY item
         N/A instances INSTANCE_PRESENT_NORMAL N/A N/A item cu N/A N/A N/A item N/A presentHiddenTroves N/A N/A self N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A schema resetTable cu tmpNewTroves N/A N/A N/A cu execute 
            INSERT INTO tmpNewTroves (itemId, branchId, flavorId,
                versionId, instanceId, hidden, finaltimestamp)
            SELECT itemId, branchId, flavorId, 0, instanceId, 0, 0
            FROM Instances
            JOIN Nodes USING (itemId, versionId)
            WHERE isPresent = ?
             N/A instances INSTANCE_PRESENT_HIDDEN N/A N/A N/A cu execute UPDATE Instances SET isPresent = ?
            WHERE instanceId IN (SELECT instanceId FROM tmpNewTroves)
             N/A instances INSTANCE_PRESENT_NORMAL N/A N/A N/A N/A self latest updateFromNewTroves tmpNewTroves N/A addTrove N/A N/A self trv trvCs hidden N/A False N/A N/A cu N/A N/A N/A self db cursor N/A changeMap N/A dict N/A N/A N/A x N/A 0 x N/A x N/A N/A trvCs getChangedFileList N/A newSet N/A set N/A N/A x N/A 0 N/A x N/A N/A trvCs getNewFileList N/A N/A TroveAdder self cu trv trvCs hidden newSet changeMap N/A self dirMap N/A self baseMap N/A self newStreamsByFileId N/A _addTroveNewFlavors N/A N/A self cu trv N/A N/A N/A troveFlavor N/A N/A trv getFlavor N/A flavorsNeeded N/A N/A N/A troveFlavor None N/A N/A N/A flavorsNeeded N/A troveFlavor True N/A N/A name version flavor N/A N/A trv iterTroveList strongRefs True weakRefs True N/A N/A N/A flavor None N/A N/A N/A flavorsNeeded N/A flavor True N/A N/A name branch flavor N/A N/A trv iterRedirects N/A N/A N/A flavor None N/A N/A N/A flavorsNeeded N/A flavor True N/A N/A N/A len flavorsNeeded 1 N/A N/A newFlavor N/A N/A N/A flavorsNeeded keys N/A 0 N/A i N/A N/A N/A self flavors get newFlavor None N/A N/A i None N/A N/A i N/A N/A N/A self flavors createFlavor newFlavor N/A flavors N/A newFlavor i N/A N/A flavorIndex N/A N/A N/A N/A schema resetTable cu tmpItems N/A flavor N/A N/A flavorsNeeded iterkeys N/A N/A N/A flavorIndex N/A N/A N/A flavor freeze flavor N/A N/A N/A cu execute INSERT INTO tmpItems(item) VALUES(?) N/A N/A flavor freeze start_transaction False N/A flavorsNeeded N/A N/A N/A N/A self db analyze tmpItems N/A N/A N/A cu execute 
            select tmpItems.item as flavor
            from tmpItems
            where not exists ( select flavor from Flavors
                               where Flavors.flavor = tmpItems.item )  N/A l N/A N/A N/A flavorStr cu N/A N/A N/A N/A l append N/A flavorIndex N/A flavorStr N/A flavor l N/A N/A N/A N/A N/A self flavors createFlavor flavor N/A flavors N/A N/A N/A N/A cu execute 
            SELECT Flavors.flavor, Flavors.flavorId
            FROM tmpItems
            JOIN Flavors ON tmpItems.item = Flavors.flavor N/A N/A flavorStr flavorId cu N/A N/A N/A flavors N/A N/A flavorIndex N/A flavorStr flavorId N/A flavorIndex N/A N/A troveFlavor None N/A N/A troveFlavorId N/A flavors N/A troveFlavor N/A N/A troveFlavorId 0 N/A troveFlavorId N/A _mergeTroveNewFiles N/A N/A self cu N/A N/A N/A N/A N/A N/A self db analyze tmpNewFiles N/A N/A len N/A self newStreamsByFileId N/A N/A N/A N/A N/A self db bulkload tmpNewStreams N/A N/A N/A self newStreamsByFileId values N/A fileId stream sha1 N/A N/A N/A N/A self db analyze tmpNewStreams N/A N/A N/A cu execute 
        SELECT tmpNewStreams.fileId, tmpNewStreams.stream, tmpNewStreams.sha1
        FROM tmpNewStreams
        JOIN FileStreams USING(fileId)
        WHERE FileStreams.stream IS NULL
        AND tmpNewStreams.stream IS NOT NULL
         N/A N/A fileId stream sha1 N/A N/A cu fetchall N/A N/A N/A N/A cu execute UPDATE FileStreams SET stream = ? WHERE fileId = ? N/A N/A N/A cu binary stream N/A N/A cu binary fileId N/A sha1 N/A N/A N/A N/A cu execute UPDATE FileStreams SET sha1 = ? WHERE fileId = ? N/A N/A N/A cu binary sha1 N/A N/A cu binary fileId N/A N/A N/A cu execute 
        INSERT INTO FileStreams (fileId, stream, sha1)
        SELECT DISTINCT NS.fileId, NS.stream, NS.sha1
        FROM tmpNewStreams AS NS
        LEFT JOIN FileStreams AS FS USING(fileId)
        WHERE FS.fileId IS NULL
          AND NS.stream IS NOT NULL
           N/A N/A N/A cu execute 
        INSERT INTO FileStreams (fileId, stream, sha1)
        SELECT DISTINCT NS.fileId, NS.stream, NS.sha1
        FROM tmpNewStreams AS NS
        LEFT JOIN FileStreams AS FS USING(fileId)
        WHERE FS.fileId IS NULL
         N/A N/A N/A cu execute INSERT INTO FilePaths(pathId, dirnameId, basenameId)
                        SELECT DISTINCT tnf.pathId, tnf.dirnameId,
                                        tnf.basenameId
                        FROM tmpNewFiles AS tnf
                        LEFT OUTER JOIN FilePaths AS fp ON
                            fp.pathId = tnf.pathId and
                            fp.dirnameId = tnf.dirnameId and
                            fp.basenameId = tnf.basenameId
                        WHERE
                            tnf.pathChanged = 1 AND
                            fp.pathId IS NULL N/A N/A N/A cu execute  insert into TroveFiles (instanceId, streamId, versionId, filePathId)
        select tnf.instanceId, fs.streamId, tnf.versionId, fp.filePathId
        from tmpNewFiles as tnf
        join FilePaths as fp on
            fp.pathId = tnf.pathId and
            fp.dirnameId = tnf.dirnameId and
            fp.basenameId = tnf.basenameId
        join FileStreams as fs on tnf.fileId = fs.fileId
         N/A _mergeIncludedTroves N/A N/A self cu N/A N/A N/A N/A N/A cu execute 
        INSERT INTO Items (item)
        SELECT DISTINCT tmpTroves.item FROM tmpTroves
        LEFT JOIN Items USING (item)
        WHERE
            Items.item is NULL
         N/A N/A N/A cu execute 
        INSERT INTO Versions (version)
        SELECT DISTINCT tmpTroves.version FROM tmpTroves
        LEFT JOIN Versions USING (version)
        WHERE
            Versions.version is NULL
         N/A N/A N/A cu execute 
        INSERT INTO Branches (branch)
        SELECT DISTINCT tmpTroves.branch FROM tmpTroves
        LEFT JOIN Branches USING (branch)
        WHERE
            Branches.branch is NULL
         N/A N/A N/A cu execute 
        INSERT INTO Labels (label)
        SELECT DISTINCT tmpTroves.label FROM tmpTroves
        LEFT JOIN Labels USING (label)
        WHERE
            Labels.label is NULL
         N/A N/A N/A cu execute 
        INSERT INTO Nodes(itemId, branchId, versionId, timestamps,
                          finalTimestamp)
        SELECT DISTINCT Items.itemId, Branches.branchId, Versions.versionId,
                        tmpTroves.timeStamps, tmpTroves.finalTimestamp
        FROM tmpTroves
        JOIN Items USING (item)
        JOIN Versions ON Versions.version = tmpTroves.version
        JOIN Branches ON Branches.branch = tmpTroves.branch
        LEFT JOIN Nodes ON
            Items.itemId = Nodes.itemId AND
            Versions.versionId = Nodes.versionId
        WHERE
            Nodes.nodeId is NULL
         N/A N/A N/A cu execute 
        INSERT INTO LabelMap(itemId, branchId, labelId)
        SELECT DISTINCT Items.itemId, Branches.branchId, Labels.labelId
        FROM tmpTroves
        JOIN Items USING (item)
        JOIN Branches ON Branches.branch = tmpTroves.branch
        JOIN Labels ON Labels.label = tmpTroves.label
        LEFT JOIN LabelMap ON
            Items.itemId = LabelMap.itemId AND
            Branches.branchId = LabelMap.branchId AND
            Labels.labelId = LabelMap.labelId
        WHERE
            LabelMap.itemId is NULL
         N/A N/A N/A cu execute 
        INSERT INTO Instances (itemId, versionId, flavorId, isPresent,
                               troveType)
        SELECT DISTINCT Items.itemId, Versions.versionId, flavors.flavorId, ?,
               tmpTroves.troveType
        FROM tmpTroves
        JOIN Items USING (item)
        JOIN Flavors ON Flavors.flavor = tmpTroves.flavor
        JOIN Versions ON Versions.version = tmpTroves.version
        LEFT JOIN Instances ON
            Items.itemId = Instances.itemId AND
            Versions.versionId = Instances.versionId AND
            Flavors.flavorId = Instances.flavorId
        WHERE
            Instances.instanceId is NULL
         N/A instances INSTANCE_PRESENT_MISSING N/A N/A N/A schema resetTable cu tmpGroupInsertShim N/A N/A N/A cu execute 
        INSERT INTO tmpGroupInsertShim (itemId, versionId, flavorId, flags, instanceId)
        SELECT itemId, versionId, flavorId, flags, instanceId
        FROM tmpTroves
        JOIN Items USING (item)
        JOIN Versions ON Versions.version = tmpTroves.version
        JOIN Flavors ON Flavors.flavor = tmpTroves.flavor
         N/A N/A N/A cu execute 
        INSERT INTO TroveTroves (instanceId, includedId, flags)
        SELECT tmpGroupInsertShim.instanceId, Instances.instanceId, flags
        FROM tmpGroupInsertShim
        JOIN Instances ON
            tmpGroupInsertShim.itemId = Instances.itemId AND
            tmpGroupInsertShim.versionId = Instances.versionId AND
            tmpGroupInsertShim.flavorId = Instances.flavorId
         N/A addTroveDone N/A N/A self troveInfo mirror N/A False N/A N/A cu N/A troveInfo cu N/A trv N/A troveInfo trv N/A trvCs N/A troveInfo trvCs N/A hidden N/A troveInfo hidden N/A newFilesInsertList N/A troveInfo newFilesInsertList N/A N/A N/A self log 3 trv N/A troveVersion N/A N/A trv getVersion N/A troveItemId N/A N/A self getItemId N/A N/A trv getName N/A sourceName N/A N/A N/A trv troveInfo sourceName N/A clonedFrom N/A N/A N/A trv troveInfo clonedFrom N/A clonedFromId None N/A clonedFrom N/A N/A clonedFromId N/A N/A N/A self versionTable get clonedFrom None N/A N/A clonedFromId None N/A N/A clonedFromId N/A N/A N/A self versionTable addId clonedFrom N/A isPackage N/A N/A N/A N/A N/A N/A trv getName startswith group N/A N/A N/A N/A N/A trv getName startswith fileset N/A : N/A N/A trv getName N/A troveVersionId N/A N/A N/A self versionTable get troveVersion None N/A N/A troveVersionId None N/A N/A nodeId N/A N/A N/A N/A self versionOps nodes getRow troveItemId troveVersionId None N/A troveFlavorId N/A N/A self _addTroveNewFlavors cu trv N/A N/A N/A troveVersionId None N/A nodeId None N/A N/A N/A nodeId troveVersionId N/A N/A N/A self versionOps createVersion troveItemId troveVersion troveFlavorId sourceName N/A N/A N/A N/A trv getChangeLog N/A N/A N/A N/A trv getChangeLog getName N/A N/A N/A N/A N/A self changeLogs add nodeId N/A N/A trv getChangeLog N/A N/A sourceName N/A N/A sourceItemId N/A N/A N/A self items getOrAddId sourceName N/A N/A N/A N/A N/A self versionOps nodes updateSourceItemId nodeId sourceItemId mirrorMode mirror N/A hidden N/A N/A presence N/A instances INSTANCE_PRESENT_HIDDEN N/A N/A presence N/A instances INSTANCE_PRESENT_NORMAL N/A troveInstanceId N/A N/A self getInstanceId troveItemId troveVersionId troveFlavorId clonedFromId N/A N/A trv getType isPresent presence N/A N/A N/A cu execute select includedId from TroveTroves where instanceId = ? limit 1 troveInstanceId N/A N/A N/A len N/A N/A cu fetchall 0 N/A troveId=%d %s has TroveTroves entries N/A troveInstanceId N/A N/A trv getNameVersionFlavor N/A troveBranchId N/A N/A self branchTable N/A N/A N/A troveVersion branch N/A N/A N/A N/A self depAdder add trv troveInstanceId N/A N/A N/A trvCs getOldVersion N/A N/A oldTroveVersionId N/A N/A N/A self versionTable get N/A N/A trvCs getOldVersion None N/A oldFlavorId N/A N/A N/A self flavors get N/A N/A trvCs getOldFlavor None N/A oldInstanceId N/A N/A self instances N/A N/A troveItemId oldTroveVersionId oldFlavorId N/A N/A oldInstanceId None N/A N/A N/A cu execute 
        INSERT INTO tmpNewTroves (itemId, branchId, flavorId,
                                  instanceId, versionId,
                                  finalTimeStamp, troveType,
                                  oldInstanceId, hidden)
        VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
         troveItemId troveBranchId troveFlavorId troveInstanceId troveVersionId N/A %.3f N/A N/A N/A N/A N/A trv getVersion timeStamps N/A -1 N/A N/A trv getType oldInstanceId N/A int hidden N/A N/A len newFilesInsertList N/A N/A N/A N/A N/A self db bulkload tmpNewFiles N/A N/A x N/A troveInstanceId N/A x newFilesInsertList N/A pathId versionId fileId dirnameId basenameId pathChanged instanceId N/A insertList N/A N/A N/A N/A name version flavor weakFlag N/A N/A itertools chain N/A N/A itertools izip N/A N/A trv iterTroveList strongRefs True weakRefs False N/A N/A itertools repeat 0 N/A N/A itertools izip N/A N/A trv iterTroveList strongRefs False weakRefs True N/A N/A itertools repeat N/A schema TROVE_TROVES_WEAKREF N/A N/A flags weakFlag N/A N/A N/A trv includeTroveByDefault name version flavor N/A N/A flags N/A schema TROVE_TROVES_BYDEFAULT N/A N/A N/A isPackage N/A version N/A N/A trv getVersion N/A N/A N/A isPackage N/A flavor N/A N/A trv getFlavor N/A N/A N/A insertList append N/A name N/A str version N/A N/A version freeze N/A N/A : join N/A N/A %.3f x N/A x N/A N/A version timeStamps N/A %.3f N/A N/A N/A version timeStamps N/A -1 N/A str N/A N/A version branch N/A str N/A N/A version trailingLabel N/A N/A flavor freeze flags troveInstanceId N/A N/A trv getType N/A N/A len insertList N/A N/A N/A N/A N/A self db bulkload tmpTroves insertList N/A item version frozenVersion timestamps finalTimestamp branch label flavor flags instanceId troveType N/A N/A N/A N/A self troveInfoTable addInfo cu trv troveInstanceId N/A N/A len N/A list N/A N/A trv iterRedirects N/A N/A N/A N/A schema resetTable cu tmpNewRedirects N/A N/A name branch flavor N/A N/A trv iterRedirects N/A N/A N/A flavor None N/A N/A frz None N/A N/A frz N/A N/A flavor freeze N/A N/A N/A cu execute INSERT INTO tmpNewRedirects (item, branch, flavor) VALUES (?, ?, ?) N/A name N/A str branch frz start_transaction False N/A N/A N/A N/A self db analyze tmpNewRedirects N/A N/A N/A cu execute 
            INSERT INTO Items (item)
            SELECT tmpNewRedirects.item
            FROM tmpNewRedirects
            LEFT JOIN Items USING (item)
            WHERE Items.itemId is NULL
             N/A N/A N/A cu execute 
            INSERT INTO Branches (branch)
            SELECT tmpNewRedirects.branch
            FROM tmpNewRedirects
            LEFT JOIN Branches USING (branch)
            WHERE Branches.branchId is NULL
             N/A N/A N/A cu execute 
            INSERT INTO Flavors (flavor)
            SELECT tmpNewRedirects.flavor
            FROM tmpNewRedirects
            LEFT JOIN Flavors USING (flavor)
            WHERE
                Flavors.flavor is not NULL
                AND Flavors.flavorId is NULL
             N/A N/A N/A cu execute N/A 
            INSERT INTO TroveRedirects (instanceId, itemId, branchId, flavorId)
            SELECT %d, Items.itemId, Branches.branchId, Flavors.flavorId
            FROM tmpNewRedirects
            JOIN Items USING (item)
            JOIN Branches ON tmpNewRedirects.branch = Branches.branch
            LEFT JOIN Flavors ON tmpNewRedirects.flavor = Flavors.flavor
             troveInstanceId N/A addTroveSetStart N/A N/A self oldTroveInfoList dirNames baseNames N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A schema resetTable cu tmpTroves N/A N/A N/A schema resetTable cu tmpNewFiles N/A N/A N/A schema resetTable cu tmpNewTroves N/A N/A N/A schema resetTable cu tmpNewStreams N/A N/A N/A schema resetTable cu tmpNewLatest N/A N/A self depAdder N/A N/A deptable BulkDependencyLoader N/A self db cu N/A N/A self newStreamsByFileId N/A dict N/A N/A N/A schema resetTable cu tmpNewPaths N/A l N/A N/A N/A N/A cu binary x N/A x dirNames N/A N/A N/A N/A self db bulkload tmpNewPaths l N/A path N/A N/A N/A cu execute 
            INSERT INTO Dirnames (dirName)
                SELECT path FROM tmpNewPaths
                    LEFT OUTER JOIN Dirnames ON
                        Dirnames.dirName = tmpNewPaths.path
                    WHERE Dirnames.dirNameId IS NULL
         N/A N/A N/A cu execute 
                SELECT Dirnames.dirName, Dirnames.dirNameId FROM
                    tmpNewPaths JOIN Dirnames ON
                        Dirnames.dirName = tmpNewPaths.path
         N/A N/A self dirMap N/A dict N/A N/A N/A N/A cu frombinary N/A x N/A 0 N/A x N/A 1 N/A x cu N/A N/A N/A schema resetTable cu tmpNewPaths N/A l N/A N/A N/A N/A cu binary x N/A x baseNames N/A N/A N/A N/A self db bulkload tmpNewPaths l N/A path N/A N/A N/A cu execute 
            INSERT INTO Basenames (baseName)
                SELECT path FROM tmpNewPaths
                    LEFT OUTER JOIN Basenames ON
                        Basenames.baseName = tmpNewPaths.path
                    WHERE Basenames.baseNameId IS NULL
         N/A N/A N/A cu execute 
                SELECT Basenames.baseName, Basenames.baseNameId FROM
                    tmpNewPaths JOIN Basenames ON
                        Basenames.baseName = tmpNewPaths.path
         N/A N/A self baseMap N/A dict N/A N/A N/A N/A cu frombinary N/A x N/A 0 N/A x N/A 1 N/A x cu N/A N/A N/A schema resetTable cu tmpNVF N/A N/A N/A N/A self db bulkload tmpNVF N/A N/A N/A x N/A 0 N/A str N/A x N/A 1 N/A N/A N/A x N/A 2 freeze N/A x oldTroveInfoList N/A name version flavor N/A N/A N/A cu execute 
            SELECT DISTINCT baseName, baseNameId FROM tmpNVF
                JOIN Items ON
                    tmpNVF.name = Items.item
                JOIN Versions ON
                    tmpNVF.version = Versions.version
                JOIN Flavors ON
                    tmpNVF.flavor = Flavors.flavor
                JOIN Instances ON
                    Items.itemId = Instances.itemId AND
                    Versions.versionId = Instances.versionId AND
                    Flavors.flavorId = Instances.flavorId
                JOIN TroveFiles USING (instanceId)
                JOIN FilePaths USING (filePathId)
                JOIN BaseNames USING (baseNameId)
         N/A N/A N/A N/A self baseMap update N/A dict N/A N/A N/A N/A cu frombinary N/A x N/A 0 N/A x N/A 1 N/A x cu N/A N/A N/A cu execute 
            SELECT DISTINCT dirName, dirNameId FROM tmpNVF
                JOIN Items ON
                    tmpNVF.name = Items.item
                JOIN Versions ON
                    tmpNVF.version = Versions.version
                JOIN Flavors ON
                    tmpNVF.flavor = Flavors.flavor
                JOIN Instances ON
                    Items.itemId = Instances.itemId AND
                    Versions.versionId = Instances.versionId AND
                    Flavors.flavorId = Instances.flavorId
                JOIN TroveFiles USING (instanceId)
                JOIN FilePaths USING (filePathId)
                JOIN DirNames USING (dirNameId)
         N/A N/A N/A N/A self dirMap update N/A dict N/A N/A N/A N/A cu frombinary N/A x N/A 0 N/A x N/A 1 N/A x cu N/A addTroveSetDone N/A N/A self callback N/A None N/A N/A N/A self dirMap None N/A N/A self baseMap None N/A N/A callback N/A N/A callback N/A N/A callbacks UpdateCallback N/A cu N/A N/A N/A self db cursor N/A N/A N/A self _mergeIncludedTroves cu N/A N/A N/A self _mergeTroveNewFiles cu N/A N/A self newStreamsByFileId None N/A N/A N/A N/A self ri addInstanceIdSet tmpNewTroves instanceId N/A N/A N/A N/A self depAdder done N/A N/A self depAdder None N/A N/A N/A callback updatingDatabase latest 1 1 N/A N/A N/A N/A self latest updateFromNewTroves tmpNewTroves N/A updateMetadata N/A N/A self troveName branch shortDesc longDesc urls licenses categories source language N/A N/A N/A itemId N/A N/A self getItemId troveName N/A branchId N/A N/A self branchTable N/A branch N/A latestVersion N/A N/A N/A self metadataTable getLatestVersion itemId branchId N/A N/A language C N/A N/A latestVersion N/A N/A version N/A N/A N/A N/A versions VersionFromString latestVersion copy N/A N/A N/A version incrementSourceCount N/A N/A version N/A N/A versions _VersionFromString 1-1 defaultBranch branch N/A N/A N/A N/A N/A self versionTable get version None N/A N/A N/A N/A N/A self versionTable addId version N/A N/A N/A latestVersion N/A N/A KeyError troveName N/A version N/A N/A versions VersionFromString latestVersion N/A versionId N/A N/A N/A self versionTable get version None N/A N/A N/A N/A self metadataTable add itemId versionId branchId shortDesc longDesc urls licenses categories source language N/A getMetadata N/A N/A self troveName branch version language N/A None C N/A N/A itemId N/A N/A N/A self items get troveName None N/A N/A itemId N/A N/A None N/A md None N/A N/A md N/A N/A N/A N/A N/A self branchTable has_key branch N/A N/A branchId N/A N/A self branchTable N/A branch N/A N/A None N/A N/A version N/A N/A latestVersion N/A N/A N/A self metadataTable getLatestVersion itemId branchId N/A N/A latestVersion N/A N/A version asString N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute SELECT versionId FROM Versions WHERE version=? latestVersion N/A versionId N/A N/A cu fetchone N/A versionId N/A N/A versionId N/A versionId N/A 0 N/A N/A N/A N/A branch hasParentBranch N/A N/A branch N/A N/A branch parentBranch N/A N/A None N/A md N/A N/A N/A self metadataTable get itemId versionId branchId language N/A N/A md N/A version N/A N/A N/A N/A versions VersionFromString latestVersion asString N/A N/A md N/A language language N/A N/A N/A metadata Metadata md N/A hasFileContents N/A N/A self sha1iter N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A schema resetTable cu tmpSha1s N/A N/A N/A N/A self db bulkload tmpSha1s N/A N/A N/A N/A cu binary x N/A x sha1iter N/A sha1 start_transaction False N/A N/A N/A cu execute 
        select case when exists
            (select 1 from FileStreams where filestreams.sha1 = tmpSha1s.sha1)
        then 1 else 0 end from tmpSha1s;
         N/A N/A N/A x N/A 0 N/A x cu N/A hasTrove N/A N/A self troveName troveVersion troveFlavor N/A None None N/A N/A N/A N/A self log 3 troveName troveVersion troveFlavor N/A N/A troveVersion N/A N/A N/A N/A N/A self items has_key troveName N/A N/A troveFlavor None N/A troveItemId N/A N/A N/A self items get troveName None N/A N/A troveItemId None N/A N/A False N/A troveVersionId N/A N/A N/A self versionTable get troveVersion None N/A N/A troveVersionId None N/A N/A False N/A troveFlavorId N/A N/A N/A self flavors get troveFlavor None N/A N/A troveFlavorId None N/A N/A False N/A N/A N/A N/A self instances isPresent N/A troveItemId troveVersionId troveFlavorId N/A getTrove N/A N/A self troveName troveVersion troveFlavor withFiles hidden N/A True False N/A N/A troveIter N/A N/A self iterTroves N/A N/A troveName troveVersion troveFlavor withFiles withFiles hidden hidden N/A trv N/A N/A x N/A x troveIter N/A 0 N/A N/A trv None N/A N/A N/A N/A errors TroveMissing troveName troveVersion N/A trv N/A iterTroves N/A N/A self troveInfoList withFiles withFileStreams hidden permCheckFilter N/A True False False None N/A N/A N/A N/A self log 3 troveInfoList N/A withFiles=%s withFileStreams=%s hidden=%s N/A withFiles withFileStreams hidden N/A cu N/A N/A N/A self db cursor N/A N/A N/A schema resetTable cu tmpNVF N/A N/A N/A schema resetTable cu tmpInstanceId N/A l N/A N/A N/A idx N/A n v f N/A enumerate troveInfoList N/A N/A N/A N/A l append N/A idx n N/A N/A v asString N/A N/A f freeze N/A N/A N/A N/A self db bulkload tmpNVF l N/A idx name version flavor start_transaction False N/A l N/A N/A N/A N/A self db analyze tmpNVF N/A args N/A N/A instances INSTANCE_PRESENT_NORMAL N/A d N/A dict presence Instances.isPresent = ? N/A hidden N/A N/A N/A N/A args append N/A instances INSTANCE_PRESENT_HIDDEN N/A d N/A dict presence Instances.isPresent in (?,?) N/A N/A N/A d update N/A N/A self db keywords N/A N/A N/A cu execute N/A 
        SELECT %(STRAIGHTJOIN)s tmpNVF.idx, Instances.instanceId, Instances.troveType,
               Nodes.timeStamps,
               Changelogs.name, ChangeLogs.contact, ChangeLogs.message
        FROM tmpNVF
        JOIN Items on tmpNVF.name = Items.item
        JOIN Versions on tmpNVF.version = Versions.version
        JOIN Flavors on tmpNVF.flavor = Flavors.flavor
        JOIN Instances on
            Items.itemId = Instances.itemId AND
            Versions.versionId = Instances.versionId AND
            Flavors.flavorId = Instances.flavorId
        JOIN Nodes on
            Instances.itemId = Nodes.itemId AND
            Instances.versionId = Nodes.versionId
        LEFT JOIN ChangeLogs using(nodeId)
        WHERE %(presence)s
        ORDER BY tmpNVF.idx
         d args N/A troveIdList N/A x N/A x cu N/A N/A troveIdList N/A N/A i N/A xrange N/A len troveInfoList N/A N/A N/A None N/A N/A N/A N/A N/A self db bulkload tmpInstanceId N/A N/A x N/A 0 2 N/A x troveIdList N/A idx instanceId start_transaction False N/A N/A N/A N/A self db analyze tmpInstanceId N/A permCheckFilter N/A N/A N/A permCheckFilter cu tmpInstanceId N/A N/A N/A cu execute select idx from tmpInstanceId N/A validIndexes N/A set N/A N/A x N/A 0 N/A x cu N/A troveIdList N/A x N/A x troveIdList N/A N/A x N/A 0 validIndexes N/A N/A N/A N/A self db kind postgresql N/A N/A N/A N/A cu execute set join_collapse_limit to 2 N/A N/A N/A cu execute set enable_seqscan to off N/A troveTrovesCursor N/A N/A N/A self db cursor N/A N/A N/A troveTrovesCursor execute N/A 
        SELECT %(STRAIGHTJOIN)s tmpInstanceId.idx, Items.item, Versions.version,
            Flavors.flavor, TroveTroves.flags, Nodes.timeStamps
        FROM tmpInstanceId
        JOIN TroveTroves using(instanceId)
        JOIN Instances on TroveTroves.includedId = Instances.instanceId
        JOIN Items on Instances.itemId = Items.itemId
        JOIN Versions on Instances.versionId = Versions.versionId
        JOIN Flavors on Instances.flavorId = Flavors.flavorId
        JOIN Nodes on
            Instances.itemId = Nodes.itemId and
            Instances.versionId = Nodes.versionId
        ORDER BY tmpInstanceId.idx
         N/A N/A self db keywords N/A troveTrovesCursor N/A N/A util PushIterator troveTrovesCursor N/A N/A N/A N/A self db kind postgresql N/A N/A N/A N/A cu execute set join_collapse_limit to default N/A N/A N/A cu execute set enable_seqscan to default N/A troveFilesCursor N/A iter N/A N/A N/A withFileStreams withFiles N/A N/A troveFilesCursor N/A N/A N/A self db cursor N/A streamSel NULL N/A withFileStreams N/A N/A streamSel FileStreams.stream N/A N/A N/A troveFilesCursor execute N/A 
            SELECT tmpInstanceId.idx, FilePaths.pathId,
                   Dirnames.dirname, Basenames.basename,
                   Versions.version, FileStreams.fileId, %s
            FROM tmpInstanceId
            JOIN TroveFiles using(instanceId)
            JOIN FileStreams using(streamId)
            JOIN FilePaths ON TroveFiles.filePathId = FilePaths.filePathId
            JOIN Dirnames ON FilePaths.dirnameId = Dirnames.dirnameId
            JOIN Basenames ON FilePaths.basenameId = Basenames.basenameId
            JOIN Versions ON TroveFiles.versionId = Versions.versionId
            ORDER BY tmpInstanceId.idx  N/A streamSel N/A troveFilesCursor N/A N/A util PushIterator troveFilesCursor N/A troveRedirectsCursor N/A N/A N/A self db cursor N/A N/A N/A troveRedirectsCursor execute 
        SELECT tmpInstanceId.idx, Items.item, Branches.branch, Flavors.flavor
        FROM tmpInstanceId
        JOIN TroveRedirects using (instanceId)
        JOIN Items using (itemId)
        JOIN Branches ON TroveRedirects.branchId = Branches.branchId
        LEFT JOIN Flavors ON TroveRedirects.flavorId = Flavors.flavorId
        ORDER BY tmpInstanceId.idx
         N/A troveRedirectsCursor N/A N/A util PushIterator troveRedirectsCursor N/A neededIdx 0 N/A versionCache N/A VersionCache N/A flavorCache N/A FlavorCache N/A troveIdList N/A N/A N/A idx troveInstanceId troveType timeStamps clName clVersion clMessage N/A N/A troveIdList pop 0 N/A N/A neededIdx idx N/A N/A neededIdx 1 N/A N/A None N/A neededIdx 1 N/A singleTroveInfo N/A troveInfoList N/A idx N/A N/A clName None N/A N/A changeLog N/A N/A changelog ChangeLog clName clVersion clMessage N/A N/A changeLog None N/A v N/A singleTroveInfo N/A 1 N/A key N/A v timeStamps N/A N/A N/A versionCache has_key key N/A N/A v N/A versionCache key N/A N/A v N/A N/A v copy N/A N/A N/A v setTimeStamps N/A N/A float x N/A x N/A N/A timeStamps split : N/A trv N/A N/A trove Trove N/A singleTroveInfo N/A 0 v N/A singleTroveInfo N/A 2 changeLog type troveType setVersion False N/A N/A N/A next N/A N/A troveTrovesCursor next N/A N/A N/A next N/A 0 idx N/A N/A N/A idxA name version flavor flags timeStamps next N/A version N/A N/A versionCache get version timeStamps N/A flavor N/A N/A flavorCache get flavor N/A byDefault N/A N/A flags N/A schema TROVE_TROVES_BYDEFAULT 0 N/A weakRef N/A N/A flags N/A schema TROVE_TROVES_WEAKREF 0 N/A N/A N/A trv addTrove name version flavor byDefault byDefault weakRef weakRef N/A next N/A N/A troveTrovesCursor next N/A N/A N/A troveTrovesCursor push next N/A N/A N/A StopIteration N/A N/A N/A fileContents N/A N/A N/A N/A next N/A N/A troveFilesCursor next N/A N/A N/A next N/A 0 idx N/A N/A N/A idxA pathId dirname basename versionId fileId stream next N/A fileId N/A N/A cu frombinary fileId N/A path N/A N/A N/A os path join N/A N/A cu frombinary dirname N/A N/A cu frombinary basename N/A version N/A N/A versions VersionFromString versionId N/A N/A N/A trv addFile N/A N/A cu frombinary pathId path version fileId N/A N/A stream None N/A N/A N/A fileContents N/A fileId stream N/A next N/A N/A troveFilesCursor next N/A N/A N/A troveFilesCursor push next N/A N/A N/A StopIteration N/A N/A N/A N/A N/A next N/A N/A troveRedirectsCursor next N/A N/A N/A next N/A 0 idx N/A N/A N/A idxA targetName targetBranch targetFlavor next N/A targetBranch N/A N/A versions VersionFromString targetBranch N/A N/A targetFlavor None N/A N/A targetFlavor N/A N/A deps ThawFlavor targetFlavor N/A N/A N/A trv addRedirect targetName targetBranch targetFlavor N/A next N/A N/A troveRedirectsCursor next N/A N/A N/A troveRedirectsCursor push next N/A N/A N/A StopIteration N/A N/A N/A N/A N/A N/A self depTables get cu trv troveInstanceId N/A N/A N/A N/A self troveInfoTable getInfo cu trv troveInstanceId N/A withFileStreams N/A N/A N/A N/A trv fileContents N/A N/A N/A trv N/A N/A neededIdx N/A len troveInfoList N/A N/A neededIdx 1 N/A N/A None N/A findFileVersion N/A N/A self fileId N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute SELECT stream FROM FileStreams WHERE fileId=? N/A fileId N/A N/A stream cu N/A N/A N/A stream None N/A N/A N/A N/A N/A files ThawFile N/A N/A cu frombinary stream N/A N/A cu frombinary fileId N/A None N/A iterFilesInTrove N/A N/A self troveName troveVersion troveFlavor sortByPath withFiles N/A False False N/A N/A troveInstanceId N/A N/A N/A self instances getInstanceId troveName troveVersion troveFlavor N/A sort N/A sortByPath N/A N/A sort  order by d.dirname, b.basename N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A 
        select fp.pathId, d.dirname, b.basename, fs.fileId,
               tf.versionId, fs.stream
        from TroveFiles as tf
        join FileStreams as fs using (streamId)
        join FilePaths as fp on tf.filePathId = fp.filePathId
        join Dirnames as d on fp.dirnameId = d.dirnameId
        join Basenames as b on fp.basenameId = b.basenameId
        where tf.instanceId = ?
        %s sort troveInstanceId N/A versionCache N/A N/A N/A pathId dirname basename fileId versionId stream cu N/A N/A version N/A N/A versionCache get versionId None N/A path N/A N/A N/A os path join N/A N/A cu frombinary dirname N/A N/A cu frombinary basename N/A N/A version N/A N/A version N/A N/A N/A self versionTable getBareId versionId N/A N/A versionCache N/A versionId version N/A stream N/A N/A N/A N/A files ThawFile N/A N/A cu frombinary stream N/A N/A cu frombinary fileId N/A withFiles N/A N/A N/A N/A N/A N/A cu frombinary pathId path N/A N/A cu frombinary fileId version N/A N/A cu frombinary stream N/A N/A N/A N/A N/A N/A cu frombinary pathId path N/A N/A cu frombinary fileId version N/A getFile N/A N/A self pathId fileId N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute SELECT stream FROM FileStreams WHERE fileId=? N/A N/A cu binary fileId N/A N/A N/A stream N/A N/A N/A cu next N/A 0 N/A N/A N/A StopIteration N/A N/A N/A N/A errors FileStreamMissing fileId N/A N/A stream None N/A N/A N/A N/A files ThawFile N/A N/A cu frombinary stream N/A N/A cu frombinary pathId N/A N/A None N/A getFiles N/A N/A self l N/A N/A N/A N/A l N/A N/A N/A N/A retr N/A FileRetriever N/A self db N/A self log N/A d N/A N/A retr get l N/A retr N/A d N/A _cleanCache N/A N/A self N/A N/A N/A N/A self versionIdCache N/A N/A N/A self itemIdCache N/A N/A begin N/A N/A self serialize N/A False N/A N/A N/A N/A self _cleanCache N/A cu N/A N/A N/A self db transaction N/A serialize N/A N/A N/A N/A schema lockCommits N/A self db N/A cu N/A rollback N/A N/A self N/A N/A N/A N/A N/A self _cleanCache N/A N/A N/A N/A self db rollback N/A _removeTrove N/A N/A self name version flavor markOnly N/A False N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute 
        SELECT I.instanceId, I.itemId, I.versionId, I.flavorId, I.troveType
        FROM Instances as I
        JOIN Items USING (itemId)
        JOIN Versions ON I.versionId = Versions.versionId
        JOIN Flavors ON I.flavorId = Flavors.flavorId
        WHERE Items.item = ?
          AND Versions.version = ?
          AND Flavors.flavor = ?
         N/A name N/A N/A version asString N/A N/A flavor freeze N/A N/A N/A N/A instanceId itemId versionId flavorId troveType N/A N/A cu next N/A N/A N/A StopIteration N/A N/A N/A N/A errors TroveMissing name version N/A N/A troveType N/A trove TROVE_TYPE_REMOVED N/A N/A N/A N/A N/A N/A troveType N/A trove TROVE_TYPE_NORMAL N/A troveType N/A trove TROVE_TYPE_REDIRECT N/A N/A N/A cu execute 
        select prov.depId as depId from
        ( select a.depId as depId from
          ( select depId, instanceId from Provides where instanceId = :instanceId
            union
            select depId, instanceId  from Requires where instanceId = :instanceId
          ) as a
          left join Provides as p on a.depId = p.depId and p.instanceId != a.instanceId
          where p.depId is NULL
        ) as prov
        join
        ( select a.depId as depId from
          ( select depId, instanceId from Provides where instanceId = :instanceId
            union
            select depId, instanceId  from Requires where instanceId = :instanceId
          ) as a
          left join Requires as r on a.depId = r.depId and r.instanceId != a.instanceId
          where r.depId is NULL
        ) as reqs
        on prov.depId = reqs.depId
         instanceId instanceId N/A depsToRemove N/A N/A x N/A 0 N/A x cu N/A N/A N/A cu execute DELETE FROM Provides WHERE instanceId = ? instanceId N/A N/A N/A cu execute DELETE FROM Requires WHERE instanceId = ? instanceId N/A depsToRemove N/A N/A N/A N/A cu execute N/A DELETE FROM Dependencies WHERE depId IN (%s) N/A N/A , join N/A N/A %d x N/A x depsToRemove N/A N/A N/A cu execute DELETE FROM TroveInfo WHERE instanceId = ? instanceId N/A N/A N/A cu execute 
        select FilePaths.filePathId
        from TroveFiles as TF
        join FilePaths using(filePathId)
        where TF.instanceId = ?
          and not exists (
              select instanceId from TroveFiles as Others
              where Others.filePathId = TF.filePathId
                and Others.instanceId != ? )
         N/A instanceId instanceId N/A filePathIdsToRemove N/A N/A x N/A 0 N/A x cu N/A N/A N/A cu execute 
        select FileStreams.streamId, FileStreams.sha1
        from TroveFiles as TF
        join FileStreams using(streamId)
        where TF.instanceId = ?
          and not exists (
              select instanceId from TroveFiles as Others
              where Others.streamId = TF.streamId
                and Others.instanceId != ? )
         N/A instanceId instanceId N/A r N/A N/A cu fetchall N/A candidateSha1sToRemove N/A N/A N/A cu frombinary N/A x N/A 1 N/A x r N/A N/A x N/A 1 None N/A streamIdsToRemove N/A N/A x N/A 0 N/A x r N/A N/A N/A cu execute DELETE FROM TroveFiles WHERE instanceId = ? instanceId N/A streamIdsToRemove N/A N/A N/A N/A cu execute N/A DELETE FROM FileStreams WHERE streamId IN (%s) N/A N/A , join N/A N/A %d x N/A x streamIdsToRemove N/A filePathIdsToRemove N/A N/A N/A N/A cu execute N/A DELETE FROM FilePaths WHERE filePathId IN (%s) N/A N/A , join N/A N/A %d x N/A x filePathIdsToRemove N/A N/A N/A cu execute  delete from Dirnames where not exists (
                select 1 from FilePaths as fp where fp.dirnameId = Dirnames.dirnameId )
                 N/A N/A N/A cu execute  delete from Basenames where not exists (
                select 1 from FilePaths as fp where fp.basenameId = Basenames.basenameId )  N/A filesToRemove N/A N/A sha1 candidateSha1sToRemove N/A N/A N/A N/A cu execute SELECT COUNT(*) FROM FileStreams WHERE sha1=? N/A N/A cu binary sha1 N/A N/A N/A N/A N/A cu next N/A 0 0 N/A N/A N/A N/A filesToRemove append sha1 N/A N/A N/A schema resetTable cu tmpRemovals N/A N/A N/A cu execute SELECT nodeId, branchId FROM Nodes WHERE itemId = ? AND versionId = ? N/A itemId versionId N/A N/A nodeId branchId N/A N/A cu next N/A N/A N/A cu execute INSERT INTO tmpRemovals (itemId, versionId, flavorId, branchId) VALUES (?, ?, ?, ?) N/A itemId versionId flavorId branchId start_transaction False N/A N/A N/A cu execute 
        INSERT INTO tmpRemovals (instanceId, itemId, versionId, flavorId, branchId)
        SELECT Instances.instanceId, Instances.itemId, Instances.versionId,
               Instances.flavorId, Nodes.branchId
        FROM TroveTroves
        JOIN Instances ON TroveTroves.includedId = Instances.instanceId
        JOIN Nodes ON
            Instances.itemId = Nodes.itemId AND
            Instances.versionId = Nodes.versionId
        WHERE
         TroveTroves.instanceId = ?
         and Instances.isPresent = ?
         and not exists (select instanceId from TroveTroves as Others
                          where Others.instanceId != ?
                            and Others.includedId = Instances.instanceId )
         N/A instanceId N/A instances INSTANCE_PRESENT_MISSING instanceId start_transaction False N/A N/A N/A cu execute 
        INSERT INTO tmpRemovals (itemId, flavorId, branchId)
        SELECT TroveRedirects.itemId, TroveRedirects.flavorId,
               TroveRedirects.branchId
        FROM TroveRedirects WHERE TroveRedirects.instanceId = ?
         instanceId start_transaction False N/A N/A N/A N/A self db analyze tmpRemovals N/A N/A N/A N/A self ri deleteInstanceIds tmpRemovals N/A N/A N/A cu execute DELETE FROM TroveTroves WHERE instanceId=? instanceId N/A N/A N/A cu execute DELETE FROM TroveRedirects WHERE instanceId=? instanceId N/A N/A N/A cu execute DELETE FROM Instances WHERE instanceId IN (SELECT instanceId FROM tmpRemovals) N/A markOnly N/A N/A N/A N/A cu execute UPDATE Instances SET troveType=? WHERE instanceId=? N/A trove TROVE_TYPE_REMOVED instanceId N/A N/A N/A N/A self latest update cu itemId branchId flavorId N/A N/A N/A N/A N/A self ri deleteInstanceId instanceId N/A N/A N/A cu execute DELETE FROM Instances WHERE instanceId = ? instanceId N/A N/A N/A schema resetTable cu tmpId N/A N/A N/A cu execute 
        INSERT INTO tmpId(id)
        SELECT Nodes.nodeId
        FROM tmpRemovals
        JOIN Nodes USING (itemId, versionId)
        LEFT JOIN Instances USING (itemId, versionId)
        WHERE Instances.itemId IS NULL
         start_transaction False N/A N/A N/A N/A self db analyze tmpId N/A N/A N/A cu execute 
        DELETE FROM Changelogs
        WHERE Changelogs.nodeId IN (SELECT id FROM tmpId)
         N/A N/A N/A cu execute 
        DELETE FROM Nodes
        WHERE Nodes.nodeId IN (SELECT id FROM tmpId)
         N/A N/A N/A N/A self latest update cu itemId branchId flavorId N/A N/A N/A cu execute 
        delete from Flavors
        where flavorId in (
            select r.flavorId
            from tmpRemovals as r
            where not exists (select flavorId from Instances as i where i.flavorId = r.flavorId)
            and not exists (select flavorId from TroveRedirects as tr where tr.flavorId = r.flavorId)
        ) N/A N/A N/A cu execute 
        delete from FlavorMap
        where flavorId in (
            select r.flavorId
            from tmpRemovals as r
            where not exists (select flavorId from Flavors as f where f.flavorId = r.flavorId)
        ) N/A N/A N/A schema resetTable cu tmpId N/A N/A N/A cu execute insert into tmpId(id)
        select lm.labelmapId
        from tmpRemovals as r
        join LabelMap as lm using(itemId, branchId)
        where not exists ( select nodeId from Nodes as n
                           where n.itemId = lm.itemId
                           and n.branchId = lm.branchId )  start_transaction False N/A N/A N/A N/A self db analyze tmpId N/A N/A N/A cu execute delete from LabelMap where labelmapId in (select id from tmpId) N/A N/A N/A cu execute 
        delete from Branches
        where branchId in (
            select r.branchId
            from tmpRemovals as r
            where not exists (select branchId from Nodes as n where n.branchId = r.branchId)
              and not exists (select branchId from TroveRedirects as tr where tr.branchId = r.branchId)
        ) N/A N/A N/A schema resetTable cu tmpId N/A N/A N/A cu execute insert into tmpId(id)
        select l.labelId
        from Labels as l
        where not exists (select labelId from LabelMap as lm where lm.labelId = l.labelId)
        and not exists (select labelId from Permissions as p where p.labelId = l.labelId)
        and l.labelId != 0  start_transaction False N/A N/A N/A N/A self db analyze tmpId N/A N/A N/A cu execute delete from Labels where labelId in (select id from tmpId) N/A N/A N/A cu execute 
        delete from Versions
        where versionId in (
            select r.versionId
            from tmpRemovals as r
            where not exists (select versionId from Instances as i where i.versionId = r.versionId)
            and not exists (select versionId from Nodes as n where n.versionId = r.versionId)
            and not exists (select versionId from TroveFiles as tf where tf.versionId = r.versionId)
        ) N/A N/A N/A cu execute 
        delete from Items
        where itemId in (
            select r.itemId
            from tmpRemovals as r
            where not exists (select itemId from Instances as i where i.itemId = r.itemId)
            and not exists (select itemId from Nodes as n where n.itemId = r.itemId)
            and not exists (select itemId from TroveRedirects as tr where tr.itemId = r.itemId)
            and not exists (select itemId from Permissions as p where p.itemId = r.itemId)
        ) N/A filesToRemove N/A markTroveRemoved N/A N/A self name version flavor N/A N/A N/A N/A N/A self log 2 name version flavor N/A N/A N/A self _removeTrove name version flavor markOnly True N/A getParentTroves N/A N/A self troveList N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A schema resetTable cu tmpNVF N/A N/A N/A schema resetTable cu tmpInstanceId N/A N/A n v f troveList N/A N/A N/A N/A cu execute insert into tmpNVF(name,version,flavor) values (?,?,?) N/A n v f start_transaction False N/A N/A N/A N/A self db analyze tmpNVF N/A N/A N/A cu execute 
        insert into tmpInstanceId(instanceId)
        select distinct TroveTroves.instanceId
        from tmpNVF
        join Items on tmpNVF.name = Items.item
        join Versions on tmpNVF.version = Versions.version
        join Flavors on tmpNVF.flavor = Flavors.flavor
        join Instances on
            Items.itemId = Instances.itemId AND
            Versions.versionId = Instances.versionId AND
            Flavors.flavorId = Instances.flavorId
        join TroveTroves on TroveTroves.includedId = Instances.instanceId
         start_transaction False N/A N/A N/A N/A self db analyze tmpInstanceId N/A N/A N/A cu execute 
        select Items.item, Versions.version, Flavors.flavor
        from tmpInstanceId
        join Instances on tmpInstanceId.instanceId = Instances.instanceId
        join Items on Instances.itemId = Items.itemId
        join Versions on Instances.versionId = Versions.versionId
        join Flavors on Instances.flavorId = Flavors.flavorId
         N/A N/A N/A cu fetchall N/A commit N/A N/A self N/A N/A N/A N/A self needsCleanup N/A N/A 0 N/A N/A N/A N/A self instances removeUnused N/A N/A N/A N/A self items removeUnused N/A N/A self needsCleanup False N/A N/A N/A self versionOps needsCleanup N/A N/A 0 N/A N/A N/A N/A self versionTable removeUnused N/A N/A N/A N/A self branchTable removeUnused N/A N/A N/A N/A N/A self versionOps labelMap removeUnused N/A N/A N/A self versionOps needsCleanup False N/A N/A N/A N/A self db commit N/A N/A N/A self _cleanCache N/A N/A FileRetriever N/A N/A __init__ N/A N/A self db log N/A None N/A N/A N/A self db db N/A N/A self cu N/A N/A db cursor N/A N/A N/A schema resetTable N/A self cu tmpFileId N/A N/A self log N/A log N/A N/A tracelog getLog None N/A get N/A N/A self l N/A N/A N/A lookup N/A range N/A len l N/A insertL N/A N/A N/A itemId tup N/A enumerate l N/A N/A N/A pathId fileId N/A tup N/A 2 N/A N/A N/A insertL append N/A itemId N/A N/A N/A self cu binary fileId N/A N/A lookup N/A itemId N/A pathId fileId N/A N/A N/A N/A self db bulkload tmpFileId insertL N/A itemId fileId start_transaction False N/A N/A N/A N/A self db analyze tmpFileId N/A N/A N/A N/A self cu execute SELECT itemId, stream FROM tmpFileId JOIN FileStreams using (fileId)  N/A d N/A N/A N/A itemId stream N/A self cu N/A N/A N/A pathId fileId N/A lookup N/A itemId N/A N/A stream None N/A N/A f N/A N/A files ThawFile N/A N/A N/A self cu frombinary stream pathId N/A N/A f None N/A N/A d N/A N/A pathId fileId f N/A N/A N/A schema resetTable N/A self cu tmpFileId N/A d N/A N/A