Module Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str Str Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore TupleLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return SubscriptLoad NameLoad Index NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body Return SubscriptLoad NameLoad Index NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad For TupleStore NameStore NameStore NameLoad body Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad For TupleStore NameStore NameStore NameLoad body Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assert CompareEq Call NameLoad NameLoad Num If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Expr Yield SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num While CompareLt NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd ListLoad NameLoad NameLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr BinOpMult Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad AugAssignAdd NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad For TupleStore NameStore NameLoad body Expr Yield NameLoad decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Yield SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return CompareNotEq 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 Str NameLoad For NameStore NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assert CompareGt Call NameLoad NameLoad Num If NameLoad body Assign NameStore Num orelse Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad NameLoad Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareIs Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad TryExcept body Return Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Num Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Num Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return UnaryOpNot CompareEq 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 Str NameLoad TryExcept body Return SubscriptLoad Call AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Raise NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return NameLoad Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Raise NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Raise NameLoad Str Assert Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr body Return Num Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return Num Assert Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr body Return Num Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Str attr ListComp BinOpMod Str Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str If CompareEq Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str Str Str decorator_list decorator_list ClassDef bases body Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd NameLoad CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse If CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad 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 NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore Str Assign NameStore Str orelse Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Yield TupleLoad NameLoad NameLoad orelse Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Dict attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str NameLoad For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad body Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Yield TupleLoad NameLoad CompareNotEq NameLoad Num orelse Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If BoolOpOr CompareIs NameLoad NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore NameStore NameLoad body Expr Yield TupleLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad keyword NameLoad Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Index Num Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListComp CompareEq SubscriptLoad NameLoad Index Num Num comprehension NameStore NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad 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 NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad body Raise AttributeLoad NameLoad attr Return SubscriptLoad SubscriptLoad NameLoad Index Num Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Dict Assign NameStore Dict If UnaryOpNot Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Delete NameDel If Call AttributeLoad NameLoad attr body Assign NameStore Num orelse Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword NameLoad orelse Assert CompareGt Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Assert CompareEq SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr Index Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body For TupleStore TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Num orelse Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Assign NameStore Num If UnaryOpNot NameLoad body AugAssignBitOr NameStore AttributeLoad NameLoad attr If NameLoad body AugAssignBitOr NameStore AttributeLoad NameLoad attr Expr Yield TupleLoad NameLoad NameLoad NameLoad Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If NameLoad body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Dict Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num For TupleStore NameStore TupleStore NameStore NameStore TupleStore NameStore NameStore NameStore NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad attr Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareIn Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num For TupleStore NameStore TupleStore NameStore NameStore TupleStore NameStore NameStore NameStore NameLoad body If CompareIs NameLoad NameLoad body Continue If CompareIn TupleLoad NameLoad NameLoad NameLoad NameLoad body Continue If CompareNotIn TupleLoad NameLoad NameLoad NameLoad NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad NameLoad attr Index Num If Call AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str For TupleStore TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Assign NameStore Dict For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body If CompareIn NameLoad Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad body Continue Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body Continue If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore NameLoad orelse If CompareEq NameLoad Num body Continue If Call AttributeLoad NameLoad attr Str body Continue If Call NameLoad NameLoad body Assign NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad TupleLoad NameLoad TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad NameLoad TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str If NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword UnaryOpNot NameLoad Index Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword UnaryOpNot NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad For TupleStore NameStore NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad Return 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 Str GeneratorExp TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num comprehension NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMult ListLoad NameLoad Call NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult ListLoad NameLoad Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad ListLoad attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body For NameStore SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Raise NameLoad Assign NameStore Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad CompareIsNot NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad NameLoad keyword NameLoad If NameLoad body Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore NameStore NameLoad body Expr Yield TupleLoad SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad FunctionDef arguments args NameParam defaults body For TupleStore NameStore TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Expr Yield TupleLoad NameLoad NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMult ListLoad NameLoad Call NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body 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 SubscriptLoad NameLoad Index NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Yield NameLoad If BoolOpOr UnaryOpNot NameLoad NameLoad body If NameLoad body Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Num For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad While CompareNotEq NameLoad NameLoad body Expr Yield SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num While CompareLt NameLoad Call NameLoad NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Expr Yield SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Num orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num NameLoad For TupleStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Call NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Return ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ListComp TupleLoad NameLoad comprehension NameStore NameLoad ListLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return ListComp CompareIn NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body If BoolOpAnd UnaryOpNot NameLoad NameLoad body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If NameLoad body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Num orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad Assign NameStore Dict If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore NameStore NameLoad body Assert CompareGt Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Num If BoolOpOr CompareIs SubscriptLoad NameLoad Index Num NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr If BoolOpOr CompareIs SubscriptLoad NameLoad Index Num NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Yield TupleLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Expr Yield TupleLoad NameLoad SubscriptLoad NameLoad Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad keyword NameLoad If NameLoad body Assign NameStore TupleLoad Str Str orelse Assign NameStore TupleLoad Str Str If NameLoad body Assign NameStore Str orelse Assign NameStore Str If NameLoad body Assign NameStore Str orelse Assign NameStore Str If NameLoad body Assign NameStore Num orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMod Str BinOpAdd NameLoad TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListComp ListLoad comprehension NameStore NameLoad For TupleStore NameStore NameStore NameStore NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListComp ListLoad comprehension NameStore NameLoad For TupleStore NameStore NameStore NameStore NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword 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 Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body If NameLoad body Assign NameStore BinOpBitAnd NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Yield TupleLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Return ListComp TupleLoad Call NameLoad keyword SubscriptLoad NameLoad Index Num keyword Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num keyword Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Continue Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpOr CompareIs NameLoad NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise NameLoad orelse If CompareIs SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad body Return Num Return Call Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return ListComp TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot Call AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr orelse Assign NameStore Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad BinOpAdd ListLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Return CompareNotEq Call Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad If NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return TupleLoad BinOpSub Call NameLoad NameLoad NameLoad NameLoad NameLoad BinOpSub Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn Str AttributeLoad AttributeLoad NameLoad attr attr body Return TupleLoad NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Return TupleLoad NameLoad Num TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return TupleLoad NameLoad Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Str Return Num AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A itertools N/A time conary dbstore conary deps errors files streams trove versions conary.dbstore idtable sqlerrors conary.local deptable troveinfo versiontable schema conary.lib api conary.trovetup TroveTuple N/A OldDatabaseSchema N/A schema OldDatabaseSchema Tags N/A N/A idtable CachedIdTable N/A __init__ N/A N/A self db N/A N/A N/A N/A N/A N/A idtable CachedIdTable __init__ self db Tags tagId tag N/A N/A VersionCache N/A dict N/A get N/A N/A self vs ts N/A N/A N/A key N/A vs ts N/A N/A N/A self has_key key N/A N/A N/A self N/A key N/A ts N/A N/A float x N/A x N/A N/A ts split : N/A v N/A N/A versions VersionFromString vs timeStamps ts N/A N/A self N/A key v N/A v N/A N/A FlavorCache N/A dict N/A get N/A N/A self frozen N/A N/A N/A N/A N/A self has_key frozen N/A N/A N/A self N/A frozen N/A N/A frozen None N/A N/A f N/A N/A N/A deps deps Flavor N/A N/A f N/A N/A N/A deps deps ThawFlavor frozen N/A N/A self N/A frozen f N/A f N/A N/A DBTroveFiles N/A N/A N/A 
    pathId, versionId, path, instanceId, stream
     N/A addItemStmt INSERT INTO DBTroveFiles (pathId, versionId, path, fileId, instanceId, isPresent, stream) VALUES (?, ?, ?, ?, ?, ?, ?) __init__ N/A N/A self db N/A N/A N/A N/A self db db N/A N/A N/A schema createDBTroveFiles db N/A N/A self tags N/A Tags N/A self db N/A __getitem__ N/A N/A self instanceId 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 path, stream FROM DBTroveFiles WHERE instanceId=? and isPresent=1 instanceId N/A N/A path stream cu N/A N/A N/A N/A path stream N/A getByInstanceId N/A N/A self instanceId justPresent N/A True N/A N/A cu N/A N/A N/A self db cursor N/A justPresent N/A N/A N/A N/A cu execute SELECT path, stream FROM DBTroveFiles WHERE instanceId=? and isPresent=1 instanceId N/A N/A N/A N/A cu execute SELECT path, stream FROM DBTroveFiles WHERE instanceId=? instanceId N/A N/A path stream cu N/A N/A N/A N/A path stream N/A delInstance N/A N/A self instanceId N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute DELETE FROM DBFileTags WHERE streamId IN
        (SELECT streamId from DBTroveFiles WHERE instanceId=?) instanceId N/A N/A N/A cu execute DELETE from DBTroveFiles WHERE instanceId=? instanceId N/A getFileByFileId N/A N/A self fileId justPresent N/A True N/A N/A cu N/A N/A N/A self db cursor N/A justPresent N/A N/A N/A N/A cu execute SELECT path, stream FROM DBTroveFiles WHERE fileId=? AND isPresent = 1 fileId N/A N/A N/A N/A cu execute SELECT path, stream FROM DBTroveFiles WHERE fileId=? fileId N/A N/A N/A N/A path stream N/A N/A cu next N/A N/A path stream N/A N/A N/A StopIteration N/A N/A KeyError fileId N/A addItem N/A N/A self cu pathId versionId path fileId instanceId stream tags addItemSql N/A None N/A N/A N/A N/A len pathId 16 N/A N/A addItemSql None N/A N/A addItemSql N/A self addItemStmt N/A N/A N/A cu execute addItemSql pathId versionId path fileId instanceId 1 stream N/A streamId N/A cu lastrowid N/A tag tags N/A N/A N/A N/A cu execute INSERT INTO DBFileTags(streamId, tagId) VALUES (?, ?) streamId N/A N/A self tags N/A tag N/A iterPath N/A N/A self path 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 instanceId FROM DBTroveFiles WHERE isPresent=1 AND path=? path N/A instanceId cu N/A N/A N/A N/A instanceId N/A 0 N/A removePath N/A N/A self instanceId path N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute UPDATE DBTroveFiles SET isPresent=0 WHERE path=? AND instanceId=? N/A path instanceId N/A _updatePathIdsPresent N/A N/A self instanceId pathIdList isPresent N/A N/A N/A chunkSize 990 N/A plen N/A len pathIdList N/A cu N/A N/A N/A self db cursor N/A i 0 N/A N/A i plen N/A N/A clen N/A min chunkSize N/A plen i N/A bvals N/A N/A isPresent instanceId N/A pathIdList N/A i N/A i clen N/A bparams N/A N/A , join N/A ? clen N/A N/A N/A cu execute N/A UPDATE DBTroveFiles SET isPresent=? WHERE instanceId=? AND pathId in (%s) bparams bvals N/A i clen N/A removePathIds N/A N/A self instanceId pathIdList N/A N/A N/A N/A N/A self _updatePathIdsPresent instanceId pathIdList isPresent 0 N/A restorePathIds N/A N/A self instanceId pathIdList N/A N/A N/A N/A N/A self _updatePathIdsPresent instanceId pathIdList isPresent 1 N/A iterFilesWithTag N/A N/A self tag 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 path FROM Tags
                INNER JOIN DBFileTags ON Tags.tagId = DBFileTags.tagId
                INNER JOIN DBTroveFiles ON
                    DBFileTags.streamId = DBTroveFiles.streamId
                WHERE tag=? ORDER BY DBTroveFiles.path
         tag N/A N/A path cu N/A N/A N/A path N/A N/A DBInstanceTable N/A N/A N/A 
    Generic table for assigning id's to (name, version, isnSet, use)
    tuples, along with a isPresent flag
     __init__ N/A N/A self db N/A N/A N/A N/A self db db N/A N/A N/A schema createInstances db N/A iterNames 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 troveName FROM Instances WHERE isPresent=1 N/A match cu N/A N/A N/A N/A match N/A 0 N/A hasName N/A N/A self name 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 instanceId FROM Instances WHERE troveName=? AND isPresent=1 name N/A N/A N/A N/A cu fetchone None N/A iterByName N/A N/A self name 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 instanceId, versionId, troveName, flavorId FROM Instances WHERE troveName=? AND isPresent=1 name N/A match cu N/A N/A N/A match N/A addId N/A N/A self troveName versionId flavorId timeStamps isPresent pinned N/A True False N/A N/A N/A N/A min timeStamps 0 N/A isPresent N/A N/A isPresent 1 N/A N/A isPresent 0 N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute INSERT INTO Instances(troveName, versionId, flavorId,  timeStamps, isPresent, pinned) VALUES (?, ?, ?, ?, ?, ?) N/A troveName versionId flavorId N/A N/A : join N/A N/A %.3f x N/A x timeStamps isPresent pinned N/A N/A cu lastrowid N/A delId N/A N/A self theId N/A N/A N/A N/A N/A type theId int N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute DELETE FROM Instances WHERE instanceId=? theId N/A getId N/A N/A self theId justPresent N/A True N/A N/A cu N/A N/A N/A self db cursor N/A justPresent N/A N/A pres AND isPresent=1 N/A N/A pres N/A N/A N/A cu execute N/A SELECT troveName, versionId, flavorId, isPresent FROM Instances WHERE instanceId=? %s pres theId N/A N/A N/A N/A N/A cu next N/A N/A N/A StopIteration N/A N/A KeyError theId N/A isPresent N/A N/A self item 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 isPresent FROM Instances WHERE troveName=? AND versionId=? AND flavorId=? item N/A val N/A N/A cu fetchone N/A N/A val N/A N/A 0 N/A N/A val N/A 0 N/A idIsPresent N/A N/A self instanceId 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 isPresent FROM Instances WHERE instanceId=? instanceId N/A val N/A N/A cu fetchone N/A N/A val N/A N/A 0 N/A N/A val N/A 0 N/A setPresent N/A N/A self theId val pinned N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A UPDATE Instances SET isPresent=?, pinned=? WHERE instanceId=%d theId val pinned N/A has_key N/A N/A self item 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 instanceId FROM Instances WHERE troveName=? AND versionId=? AND flavorId=? item N/A N/A N/A N/A N/A cu fetchone None N/A __getitem__ N/A N/A self item 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 instanceId FROM Instances WHERE troveName=? AND versionId=? AND flavorId=? item N/A N/A N/A N/A N/A N/A cu next N/A 0 N/A N/A N/A StopIteration N/A N/A KeyError item N/A get N/A N/A self item defValue justPresent N/A True N/A N/A cu N/A N/A N/A self db cursor N/A justPresent N/A N/A pres  AND isPresent=1 N/A N/A pres N/A N/A N/A cu execute N/A SELECT instanceId FROM Instances WHERE troveName=? AND versionId=? AND flavorId=? %s pres item N/A item N/A N/A cu fetchone N/A N/A item N/A N/A defValue N/A N/A item N/A 0 N/A getVersion N/A N/A self instanceId 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 version, timeStamps FROM Instances
                      INNER JOIN Versions ON
                            Instances.versionId = Versions.versionId
                      WHERE instanceId=? instanceId N/A N/A N/A N/A s t N/A N/A cu next N/A ts N/A N/A float x N/A x N/A N/A t split : N/A v N/A N/A versions VersionFromString s timeStamps ts N/A v N/A N/A N/A StopIteration N/A N/A KeyError instanceId N/A N/A Flavors N/A N/A idtable IdTable N/A addId N/A N/A self flavor N/A N/A N/A N/A N/A N/A idtable IdTable addId self N/A N/A flavor freeze N/A __getitem__ N/A N/A self flavor N/A N/A N/A N/A flavor None N/A N/A KeyError Can not lookup deps.Flavor(None) N/A N/A isinstance flavor N/A N/A deps deps DependencySet N/A N/A N/A flavor isEmpty N/A N/A 0 N/A N/A N/A N/A idtable IdTable __getitem__ self N/A N/A flavor freeze N/A getId N/A N/A self flavorId N/A N/A N/A N/A N/A N/A deps deps ThawFlavor N/A N/A N/A idtable IdTable getId self flavorId N/A get N/A N/A self flavor defValue N/A N/A N/A N/A flavor None N/A N/A 0 N/A N/A isinstance flavor N/A N/A deps deps DependencySet N/A N/A N/A flavor isEmpty N/A N/A 0 N/A N/A N/A N/A idtable IdTable get self N/A N/A flavor freeze defValue N/A __delitem__ N/A N/A self flavor N/A N/A N/A N/A isinstance flavor N/A N/A deps deps DependencySet N/A N/A N/A flavor isEmpty N/A N/A N/A N/A N/A N/A idtable IdTable __delitem__ self N/A N/A flavor freeze N/A getItemDict N/A N/A self itemSeq N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A SELECT %s, %s FROM %s WHERE %s in (%s) N/A N/A self strName N/A self keyName N/A self tableName N/A self strName N/A N/A , join N/A N/A '%s' N/A N/A x freeze N/A x itemSeq N/A N/A dict cu N/A __init__ N/A N/A self db N/A N/A N/A N/A N/A N/A idtable IdTable __init__ self db Flavors flavorId flavor N/A cu N/A N/A db cursor N/A N/A N/A cu execute SELECT FlavorID from Flavors N/A N/A N/A N/A cu fetchone None N/A N/A N/A N/A cu execute INSERT INTO Flavors (flavorId, flavor) VALUES (0, NULL) N/A N/A DBFlavorMap N/A N/A idtable IdMapping N/A __init__ N/A N/A self db N/A N/A N/A N/A N/A N/A idtable IdMapping __init__ self db DBFlavorMap instanceId flavorId N/A N/A Database N/A N/A N/A timeout 30000 __init__ N/A N/A self path timeout N/A None N/A N/A N/A timeout None N/A N/A N/A self timeout timeout N/A N/A self db None N/A N/A N/A N/A self db N/A N/A dbstore connect path driver sqlite timeout N/A self timeout N/A N/A self schemaVersion N/A N/A N/A N/A self db getVersion major N/A N/A N/A N/A sqlerrors DatabaseLocked N/A N/A N/A errors DatabaseLockedError N/A N/A N/A N/A self db dbh _BEGIN BEGIN N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute BEGIN IMMEDIATE N/A N/A N/A N/A sqlerrors ReadOnlyDatabase N/A N/A readOnly True N/A N/A readOnly False N/A N/A N/A N/A self db rollback N/A N/A readOnly N/A N/A self schemaVersion N/A schema VERSION N/A N/A N/A OldDatabaseSchema The Conary database on this system is too old.  It will be 
automatically converted as soon as you run Conary with 
write permissions for the database (which normally means 
as root). 
 N/A N/A N/A N/A self schemaVersion N/A schema VERSION N/A N/A N/A N/A schema NewDatabaseSchema N/A N/A N/A N/A self db loadSchema N/A newCursor N/A N/A self schemaVersion N/A schema VERSION N/A N/A N/A schema checkVersion N/A self db N/A newCursor N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A self schemaVersion 0 N/A N/A N/A N/A schema createSchema N/A self db N/A N/A N/A schema setupTempDepTables N/A self db cu N/A N/A N/A schema setupTempTables N/A self db cu N/A N/A self troveFiles N/A DBTroveFiles N/A self db N/A N/A self instances N/A DBInstanceTable 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 flavors N/A Flavors N/A self db N/A N/A self flavorMap N/A DBFlavorMap 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 troveInfoTable N/A N/A troveinfo TroveInfoTable N/A self db N/A N/A self needsCleanup False N/A N/A self addVersionCache N/A N/A N/A self flavorsNeeded N/A N/A __del__ N/A N/A self N/A N/A N/A N/A N/A self db N/A N/A N/A self db closed N/A N/A N/A N/A N/A self db close N/A N/A self db N/A begin N/A N/A self N/A N/A N/A 
        Force the database to begin a transaction; this locks the database
        so no one can touch it until a commit() or rollback().
         N/A N/A N/A N/A self db transaction N/A rollback N/A N/A self N/A N/A N/A N/A self needsCleanup False N/A N/A N/A N/A self db rollback N/A iterAllTroveNames N/A N/A self N/A N/A N/A N/A N/A N/A self instances iterNames N/A iterFindByName N/A N/A self name pristine N/A False N/A N/A instanceIds N/A N/A x N/A 0 N/A x N/A N/A N/A self instances iterByName name N/A N/A N/A self _iterTroves instanceIds instanceIds pristine pristine N/A iterVersionByName N/A N/A self name withFlavors N/A N/A N/A cu N/A N/A N/A self db cursor N/A withFlavors N/A N/A flavorCol flavor N/A flavorClause INNER JOIN Flavors ON
                            Flavors.flavorId = Instances.flavorId N/A N/A flavorCol NULL N/A flavorClause N/A N/A N/A cu execute N/A SELECT DISTINCT version, timeStamps, %s
                        FROM Instances NATURAL JOIN Versions
                        %s
                        WHERE troveName='%s' AND isPresent=1 N/A flavorCol flavorClause name N/A flavors N/A N/A N/A match timeStamps flavorStr cu N/A N/A ts N/A N/A float x N/A x N/A N/A timeStamps split : N/A version N/A N/A versions VersionFromString match timeStamps ts N/A withFlavors N/A N/A f N/A N/A flavors get flavorStr None N/A N/A f None N/A N/A f N/A N/A N/A deps deps ThawFlavor flavorStr N/A N/A flavors N/A flavorStr f N/A N/A N/A version f N/A N/A N/A version N/A getAllTroveFlavors N/A N/A self troveDict N/A N/A N/A outD N/A N/A cu N/A N/A N/A self db cursor N/A versionCache N/A VersionCache N/A flavorCache N/A FlavorCache N/A N/A name versionList N/A N/A troveDict iteritems N/A N/A d N/A N/A N/A fromkeys versionList N/A N/A outD N/A name d N/A key d N/A N/A N/A d N/A key N/A N/A N/A N/A cu execute 
                SELECT version, timeStamps, flavor FROM Instances
                    NATURAL JOIN Versions
                    INNER JOIN Flavors
                        ON Instances.flavorid = Flavors.flavorid
                WHERE troveName=? AND isPresent=1 name N/A N/A match timeStamps flavor cu N/A N/A version N/A N/A versionCache get match timeStamps N/A N/A N/A N/A outD N/A name has_key version N/A N/A N/A N/A N/A N/A outD N/A name N/A version append N/A N/A flavorCache get flavor N/A outD N/A iterAllTroves N/A N/A self withPins 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 troveName, version, timeStamps, flavor, pinned
                FROM Instances NATURAL JOIN Versions
                INNER JOIN Flavors
                    ON Instances.flavorid = Flavors.flavorid
            WHERE isPresent=1 N/A versionCache N/A VersionCache N/A flavorCache N/A FlavorCache N/A N/A troveName version timeStamps flavor pinned cu N/A N/A version N/A N/A versionCache get version timeStamps N/A flavor N/A N/A flavorCache get flavor N/A nvf N/A TroveTuple troveName version flavor N/A withPins N/A N/A N/A N/A nvf N/A pinned 0 N/A N/A N/A nvf N/A pinTroves N/A N/A self name version flavor pin N/A True N/A N/A N/A N/A flavor None N/A N/A flavor isEmpty N/A N/A flavorClause IS NULL N/A N/A flavorClause N/A = '%s' N/A N/A flavor freeze N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A 
            UPDATE Instances set pinned=? WHERE
                instanceId = (SELECT instanceId FROM Instances
                    JOIN Flavors ON
                        Instances.flavorId = Flavors.flavorId
                    JOIN Versions ON
                        Instances.versionID = Versions.versionId
                    WHERE
                        troveName=? AND
                        version = ? AND
                        flavor %s)
         flavorClause pin name N/A N/A version asString N/A trovesArePinned N/A N/A self troveList N/A N/A N/A 
        Get a list of which troves in troveList are pinned

        @param troveList: a list of troves in (name, version, flavor) form
        @type troveList: list

        @note:
            This function makes database calls and may raise any exceptions
            defined in L{conary.dbstore.sqlerrors}

        @raises AssertionError:
         N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A 
        CREATE TEMPORARY TABLE tlList(
            name        %(STRING)s,
            version     %(STRING)s,
            flavor      %(STRING)s
        ) N/A N/A self db keywords start_transaction False _iter N/A N/A tl N/A N/A N/A N/A name version flavor troveList N/A N/A N/A N/A name N/A N/A version asString N/A N/A flavor freeze N/A N/A N/A N/A cu executemany INSERT INTO tlList VALUES(?, ?, ?) N/A _iter troveList start_transaction False N/A count N/A N/A N/A N/A N/A cu execute SELECT count(*) FROM tlList next N/A 0 N/A N/A N/A cu execute 
select
    pinned
from
    tlList, Instances, Versions, Flavors
where
        Instances.troveName = tlList.name
    and Versions.version = tlList.version
    and Instances.versionId = Versions.versionId
    and (    Flavors.flavor = tlList.flavor
          or Flavors.flavor is NULL and tlList.flavor = '' )
    and Instances.flavorId = Flavors.flavorId
order by
    tlList.rowId asc
 N/A results N/A N/A N/A x N/A 0 1 N/A x cu N/A N/A N/A len results count N/A N/A N/A cu execute DROP TABLE tlList start_transaction False N/A results N/A N/A api publicApi hasByName N/A N/A self name N/A N/A N/A N/A N/A N/A self instances hasName name N/A getVersionId N/A N/A self version cache N/A N/A N/A theId N/A N/A cache 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 cache N/A version theId N/A theId N/A getInstanceId N/A N/A self troveName versionId flavorId timeStamps isPresent N/A True N/A N/A theId N/A N/A N/A self instances get N/A troveName versionId flavorId None N/A N/A theId None N/A N/A theId N/A N/A N/A self instances addId troveName versionId flavorId timeStamps isPresent isPresent N/A theId N/A _findTroveInstanceId N/A N/A self cu name version flavor N/A N/A N/A N/A N/A flavor isEmpty N/A N/A flavorStr IS NULL N/A N/A flavorStr N/A = '%s' N/A N/A flavor freeze N/A N/A N/A cu execute N/A 
        SELECT instanceId
        FROM Instances
        JOIN Versions USING (versionId)
        JOIN Flavors ON (Instances.flavorId = Flavors.flavorId)
        WHERE Instances.troveName = ?
        AND Versions.version = ?
        AND Flavors.flavor %s
         flavorStr name N/A str version N/A rows N/A list cu N/A N/A N/A len rows N/A N/A N/A errors TroveNotFound N/A N/A N/A rows N/A 0 N/A 0 N/A addTrove N/A N/A self trove pin oldTroveSpec N/A False None N/A N/A cu N/A N/A N/A self db cursor N/A troveName N/A N/A trove getName N/A troveVersion N/A N/A trove getVersion N/A troveVersionId N/A N/A self getVersionId troveVersion N/A N/A N/A N/A self addVersionCache N/A troveVersion troveVersionId N/A N/A oldTroveSpec None N/A N/A oldTroveId N/A N/A self _findTroveInstanceId cu oldTroveSpec N/A N/A oldTroveId None N/A troveFlavor N/A N/A trove getFlavor N/A N/A N/A N/A troveFlavor isEmpty N/A N/A N/A N/A self flavorsNeeded N/A troveFlavor True N/A N/A name version flavor N/A N/A trove iterTroveList strongRefs True weakRefs True N/A N/A N/A N/A N/A flavor isEmpty N/A N/A N/A N/A self flavorsNeeded N/A flavor True N/A N/A self flavorsNeeded N/A N/A N/A N/A cu execute N/A 
            CREATE TEMPORARY TABLE flavorsNeeded(
                empty INTEGER,
                flavor %(STRING)s
            ) N/A N/A self db keywords N/A flavor N/A N/A N/A self flavorsNeeded keys N/A N/A N/A N/A cu execute INSERT INTO flavorsNeeded VALUES(?, ?) None N/A N/A flavor freeze N/A N/A N/A cu execute 
            INSERT INTO Flavors (flavorId, flavor)
            SELECT flavorsNeeded.empty, flavorsNeeded.flavor
            FROM flavorsNeeded LEFT OUTER JOIN Flavors USING(flavor)
            WHERE Flavors.flavorId is NULL
             N/A N/A N/A cu execute DROP TABLE flavorsNeeded N/A N/A self flavorsNeeded N/A N/A flavors N/A N/A N/A N/A N/A troveFlavor isEmpty N/A N/A N/A flavors N/A troveFlavor True N/A N/A name version flavor N/A N/A trove iterTroveList strongRefs True weakRefs True N/A N/A N/A N/A N/A flavor isEmpty N/A N/A N/A flavors N/A flavor True N/A flavorMap N/A N/A N/A self flavors getItemDict N/A N/A flavors iterkeys N/A flavors N/A N/A N/A troveFlavor isEmpty N/A N/A troveFlavorId 0 N/A N/A troveFlavorId N/A flavorMap N/A N/A N/A troveFlavor freeze N/A troveInstanceId N/A N/A N/A self instances get N/A troveName troveVersionId troveFlavorId None justPresent False N/A troveInstanceId N/A N/A N/A N/A N/A self instances setPresent troveInstanceId 1 pinned pin N/A N/A N/A N/A min N/A N/A troveVersion timeStamps 0 N/A troveInstanceId N/A N/A N/A self instances addId troveName troveVersionId troveFlavorId N/A N/A troveVersion timeStamps pinned pin N/A N/A N/A N/A N/A N/A N/A cu execute SELECT COUNT(*) FROM TroveTroves WHERE instanceId=? troveInstanceId next N/A 0 0 N/A N/A N/A cu execute N/A 
        CREATE TEMPORARY TABLE IncludedTroves(
            troveName   %(STRING)s,
            versionId   INTEGER,
            flavorId    INTEGER,
            timeStamps  %(STRING)s,
            flags       INTEGER
        )  N/A N/A self db keywords _iter N/A N/A trove N/A N/A N/A N/A N/A name version flavor byDefault isStrong N/A N/A trove iterTroveListInfo N/A N/A versionId N/A N/A self getVersionId version N/A self addVersionCache N/A N/A N/A flavor isEmpty N/A N/A flavorId 0 N/A N/A flavorId N/A flavorMap N/A N/A N/A flavor freeze N/A flags 0 N/A N/A isStrong N/A N/A flags N/A schema TROVE_TROVES_WEAKREF N/A byDefault N/A N/A flags N/A schema TROVE_TROVES_BYDEFAULT N/A N/A N/A name versionId flavorId N/A N/A : join N/A N/A %.3f x N/A x N/A N/A version timeStamps flags N/A N/A N/A N/A cu executemany INSERT INTO IncludedTroves VALUES(?, ?, ?, ?, ?) N/A _iter trove N/A N/A N/A cu execute 
            INSERT INTO Instances (troveName, versionId, flavorId,
                                   timeStamps, isPresent, pinned)
                                    SELECT IncludedTroves.troveName,
                                           IncludedTroves.versionId,
                                           IncludedTroves.flavorId,
                                           IncludedTroves.timeStamps, 0, 0
                FROM IncludedTroves LEFT OUTER JOIN Instances ON
                    IncludedTroves.troveName == Instances.troveName AND
                    IncludedTroves.versionId == Instances.versionId AND
                    IncludedTroves.flavorId == Instances.flavorId
                WHERE
                    instanceId is NULL
             N/A N/A N/A cu execute 
            INSERT INTO TroveTroves(instanceId, includedId, flags, inPristine)
                SELECT ?, instanceId, flags, ?
                FROM IncludedTroves JOIN Instances ON
                    IncludedTroves.troveName == Instances.troveName AND
                    IncludedTroves.versionId == Instances.versionId AND
                    IncludedTroves.flavorId == Instances.flavorId
             troveInstanceId True N/A N/A N/A cu execute DROP TABLE IncludedTroves N/A N/A N/A N/A N/A trove troveInfo installTime set N/A N/A time time N/A N/A N/A N/A self depTables add cu trove troveInstanceId N/A N/A N/A N/A self troveInfoTable addInfo cu trove troveInstanceId N/A N/A N/A cu execute SELECT TroveTroves.instanceId FROM Instances
                      JOIN TroveTroves
                        ON (Instances.instanceId = TroveTroves.includedId)
                      WHERE troveName = ? AND isPresent=0 N/A N/A trove getName N/A collections N/A N/A cu fetchall N/A N/A N/A cu execute select instanceId from trovetroves where includedid=? troveInstanceId N/A collections N/A N/A cu fetchall N/A N/A x collections N/A N/A N/A N/A self _sanitizeTroveCollection cu x nameHint N/A N/A trove getName N/A N/A N/A self _sanitizeTroveCollection cu troveInstanceId N/A N/A N/A cu execute N/A CREATE TEMPORARY TABLE NewFiles (
                        pathId BLOB,
                        versionId INTEGER,
                        path %(PATHTYPE)s,
                        fileId BLOB,
                        stream BLOB,
                        isPresent INTEGER) N/A N/A self db keywords N/A N/A N/A cu execute N/A CREATE TEMPORARY TABLE NewFileTags (
                        pathId BLOB,
                        tag %(STRING)s) N/A N/A self db keywords N/A stmt N/A N/A cu compile 
                INSERT INTO NewFiles (pathId, versionId, path, fileId,
                                      stream, isPresent)
                        VALUES (?, ?, ?, ?, ?, ?) N/A N/A cu troveInstanceId stmt oldTroveId N/A _sanitizeTroveCollection N/A N/A self cu instanceId nameHint N/A None N/A N/A nameHint N/A N/A nameClause N/A Instances.troveName = '%s' AND nameHint N/A N/A nameClause N/A N/A N/A cu execute N/A 
            SELECT includedId, troveName, version, flavor, isPresent,
                   inPristine, timeStamps
                FROM TroveTroves JOIN Instances ON
                    TroveTroves.includedId = Instances.instanceId
                JOIN Versions ON
                    Instances.versionId = Versions.versionId
                JOIN Flavors ON
                    Instances.flavorId = Flavors.flavorId
                WHERE
                    %s
                    TroveTroves.instanceId = ?
         nameClause instanceId N/A pristineTrv N/A N/A trove Trove foo N/A N/A versions NewVersion N/A N/A N/A deps deps Flavor None N/A currentTrv N/A N/A trove Trove foo N/A N/A versions NewVersion N/A N/A N/A deps deps Flavor None N/A instanceDict N/A N/A origIncluded N/A set N/A versionCache N/A VersionCache N/A flavorCache N/A FlavorCache N/A N/A includedId name version flavor isPresent inPristine timeStamps cu N/A N/A flavor N/A N/A flavorCache get flavor N/A version N/A N/A versionCache get version timeStamps N/A N/A instanceDict N/A N/A name version flavor includedId N/A N/A N/A origIncluded add N/A name version flavor N/A isPresent N/A N/A N/A N/A currentTrv addTrove name version flavor N/A inPristine N/A N/A N/A N/A pristineTrv addTrove name version flavor N/A linkByName N/A N/A trvChanges N/A N/A N/A currentTrv diff pristineTrv N/A 2 N/A N/A name N/A oldVersion oldFlavor N/A newVersion newFlavor isAbs trvChanges N/A N/A N/A oldVersion None N/A N/A badInstanceId N/A instanceDict N/A N/A name newVersion newFlavor N/A N/A N/A cu execute DELETE FROM TroveTroves WHERE instanceId=? AND includedId=? instanceId badInstanceId N/A N/A N/A origIncluded discard N/A name newVersion newFlavor N/A N/A N/A newVersion None N/A N/A N/A N/A N/A N/A linkByName setdefault name N/A set add N/A N/A oldVersion branch N/A N/A linkByName N/A N/A N/A N/A name version flavor N/A N/A self findByNames linkByName N/A N/A N/A N/A N/A version branch N/A linkByName N/A name N/A N/A N/A N/A currentTrv addTrove name version flavor presentOkay True N/A trvChanges N/A N/A N/A currentTrv diff pristineTrv N/A 2 N/A N/A name N/A oldVersion oldFlavor N/A newVersion newFlavor isAbs trvChanges N/A N/A N/A newVersion None N/A N/A N/A N/A N/A name newVersion newFlavor origIncluded N/A N/A N/A N/A N/A name oldVersion oldFlavor instanceDict N/A N/A N/A oldIncludedId N/A instanceDict N/A N/A name oldVersion oldFlavor N/A flags N/A N/A N/A N/A N/A cu execute 
                    SELECT flags FROM TroveTroves WHERE
                        instanceId=? and includedId=? instanceId oldIncludedId next N/A 0 N/A N/A N/A newFlavor isEmpty N/A N/A flavorStr IS NULL N/A N/A flavorStr N/A = '%s' N/A N/A newFlavor freeze N/A N/A N/A cu execute N/A 
                INSERT INTO TroveTroves (instanceId, includedId, flags,
                                         inPristine) SELECT ?, instanceId, ?, 0
                    FROM Instances JOIN Versions ON
                        Instances.versionId = Versions.versionId
                    JOIN Flavors ON
                        Instances.flavorId = Flavors.flavorId
                    WHERE
                        troveName = ? AND
                        version = ? AND
                        flavor %s
                 flavorStr instanceId flags name N/A N/A newVersion asString N/A addFile N/A N/A self troveInfo pathId path fileId fileVersion fileStream isPresent N/A None True N/A N/A N/A cu troveInstanceId addFileStmt oldInstanceId troveInfo N/A versionId N/A N/A self getVersionId fileVersion N/A self addVersionCache N/A fileStream N/A N/A N/A N/A cu execstmt addFileStmt pathId versionId path fileId fileStream isPresent N/A tags N/A N/A files frozenFileTags fileStream N/A tags N/A N/A N/A N/A cu executemany INSERT INTO NewFileTags VALUES (?, ?) N/A N/A itertools izip N/A N/A itertools repeat pathId tags N/A N/A N/A N/A cu execute 
              UPDATE DBTroveFiles
                  SET instanceId=?, isPresent=?, path=?, versionId=?
                  WHERE pathId=? AND instanceId=? troveInstanceId isPresent path versionId pathId oldInstanceId N/A addTroveDone N/A N/A self troveInfo N/A N/A N/A N/A cu troveInstanceId addFileStmt oldInstanceId troveInfo N/A N/A N/A cu execute N/A 
            INSERT INTO DBTroveFiles (pathId, versionId, path, fileId,
                                      instanceId, isPresent, stream)
                        SELECT pathId, versionId, path, fileId, %d,
                               isPresent, stream FROM NewFiles troveInstanceId N/A N/A N/A cu execute 
            INSERT INTO Tags (tag) SELECT DISTINCT
                NewFileTags.tag FROM NewFileTags
                LEFT OUTER JOIN Tags USING (tag)
                WHERE Tags.tag is NULL
         N/A N/A N/A cu execute 
            INSERT INTO DBFileTags (streamId, tagId)
                SELECT streamId, tagId FROM
                    DBTroveFiles JOIN NewFileTags USING (pathId)
                    JOIN Tags USING (tag)
                    WHERE instanceId = ? troveInstanceId N/A N/A N/A cu execute DROP TABLE NewFiles N/A N/A N/A cu execute DROP TABLE NewFileTags N/A troveInstanceId N/A markUserReplacedFiles N/A N/A self userReplaced N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute CREATE TEMPORARY TABLE UserReplaced(
                        name STRING, version STRING, flavor STRING,
                        pathId BLOB) N/A N/A N/A name version flavor fileList N/A N/A userReplaced iteritems N/A N/A N/A pathId content fileObj fileList N/A N/A flavorStr N/A N/A flavor freeze N/A N/A flavorStr N/A N/A flavorStr None N/A N/A N/A cu execute 
                    INSERT INTO UserReplaced(name, version, flavor, pathId)
                        VALUES (?, ?, ?, ?)
                 name N/A N/A version asString flavorStr pathId N/A N/A N/A cu execute 
            UPDATE DBTroveFiles SET isPresent = 0 WHERE
                rowId IN (SELECT DBTroveFiles.rowId FROM UserReplaced
                    JOIN Versions ON
                        UserReplaced.version = Versions.version
                    JOIN Flavors ON
                        UserReplaced.flavor = Flavors.flavor OR
                        (UserReplaced.flavor IS NULL AND
                         Flavors.flavor IS NULL)
                    JOIN Instances ON
                        Instances.troveName = UserReplaced.name AND
                        Instances.versionId = versions.versionId AND
                        Instances.flavorId = flavors.flavorId
                    JOIN DBTroveFiles ON
                        DBTroveFiles.instanceId = Instances.instanceId AND
                        DBTroveFiles.pathId = UserReplaced.pathId)
         N/A N/A N/A cu execute DROP TABLE UserReplaced N/A checkPathConflicts N/A N/A self instanceIdList replaceCheck sharedFiles N/A N/A N/A cu N/A N/A N/A self db cursor N/A cu2 N/A N/A N/A self db cursor N/A N/A N/A cu execute CREATE TEMPORARY TABLE NewInstances (instanceId integer) N/A instanceId instanceIdList N/A N/A N/A N/A cu execute INSERT INTO NewInstances (instanceId) VALUES (?) instanceId N/A N/A N/A cu execute 
            SELECT AddedFiles.path,
                   ExistingInstances.instanceId, ExistingFiles.pathId,
                   ExistingFiles.stream,
                   ExistingInstances.troveName, ExistingVersions.version,
                   ExistingFlavors.flavor,
                   AddedInstances.instanceId, AddedFiles.pathId,
                   AddedFiles.stream,
                   AddedInstances.troveName,
                   AddedVersions.version, AddedFlavors.flavor

                FROM NewInstances
                JOIN DBTroveFiles AS AddedFiles USING (instanceId)
                JOIN DBTroveFiles AS ExistingFiles ON
                    AddedFiles.path = ExistingFiles.path AND
                    AddedFiles.instanceId != ExistingFiles.instanceId

                JOIN Instances AS ExistingInstances ON
                    ExistingFiles.instanceId = ExistingInstances.instanceId
                JOIN Versions AS ExistingVersions ON
                    ExistingInstances.versionId = ExistingVersions.versionId
                JOIN Flavors AS ExistingFlavors ON
                    ExistingInstances.flavorId = ExistingFlavors.flavorId

                JOIN Instances AS AddedInstances ON
                    AddedInstances.instanceId = NewInstances.instanceId
                JOIN Versions AS AddedVersions ON
                    AddedInstances.versionId = AddedVersions.versionId
                JOIN Flavors AS AddedFlavors ON
                    AddedInstances.flavorId = AddedFlavors.flavorId

                WHERE
                    AddedFiles.isPresent = 1 AND
                    ExistingFiles.isPresent = 1 AND
                    AddedFiles.fileId != ExistingFiles.fileId
         N/A conflicts N/A N/A replaced N/A N/A N/A path existingInstanceId existingPathId existingStream existingTroveName existingVersion existingFlavor addedInstanceId addedPathId addedStream addedTroveName addedVersion addedFlavor cu N/A N/A N/A existingPathId N/A N/A sharedFiles get N/A existingTroveName N/A N/A versions VersionFromString existingVersion N/A N/A N/A deps deps ThawDependencySet existingFlavor N/A set N/A N/A N/A replaceExisting False N/A addedFile N/A N/A files ThawFile addedStream addedPathId N/A existingFile N/A N/A files ThawFile existingStream existingPathId N/A N/A N/A addedFile compatibleWith existingFile N/A N/A N/A N/A N/A N/A N/A addedFile flags isEncapsulatedContent N/A N/A N/A existingFile flags isEncapsulatedContent N/A N/A cmp N/A N/A files rpmFileColorCmp addedFile existingFile N/A N/A cmp 1 N/A N/A replaceExisting True N/A N/A N/A cmp -1 N/A N/A N/A N/A N/A path startswith /usr/share/doc/ N/A N/A N/A N/A replaceCheck path N/A N/A replaceExisting True N/A replaceExisting N/A N/A N/A N/A cu2 execute UPDATE DBTroveFiles SET isPresent = 0 WHERE instanceId = ? AND pathId = ? existingInstanceId existingPathId N/A existingTroveInfo N/A existingTroveName N/A N/A versions VersionFromString existingVersion N/A N/A N/A deps deps ThawFlavor existingFlavor N/A l N/A N/A replaced setdefault existingTroveInfo N/A N/A N/A N/A l append N/A existingPathId None None N/A N/A N/A N/A conflicts append N/A path N/A existingPathId N/A existingTroveName N/A N/A versions VersionFromString existingVersion N/A N/A N/A deps deps ThawFlavor existingFlavor N/A addedPathId N/A addedTroveName N/A N/A versions VersionFromString addedVersion N/A N/A N/A deps deps ThawFlavor addedFlavor N/A N/A N/A cu execute DROP TABLE NewInstances N/A conflicts N/A N/A N/A N/A errors DatabasePathConflicts conflicts N/A replaced N/A getFile N/A N/A self pathId fileId pristine N/A False N/A N/A stream N/A N/A N/A N/A self troveFiles getFileByFileId fileId justPresent N/A pristine N/A 1 N/A N/A N/A files ThawFile stream pathId N/A getFileStream N/A N/A self fileId pristine N/A False N/A N/A N/A N/A N/A N/A self troveFiles getFileByFileId fileId justPresent N/A pristine N/A 1 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 DBTroveFiles
                          INNER JOIN Versions ON
                              DBTroveFiles.versionId == Versions.versionId
                      WHERE fileId == ? fileId N/A N/A stream cu N/A N/A N/A N/A files ThawFile stream None N/A None N/A iterFiles N/A N/A self l 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 getFilesTbl N/A N/A N/A cu executemany INSERT INTO getFilesTbl VALUES (?, ?) N/A N/A N/A x N/A 0 N/A N/A x N/A 1 N/A 1 N/A x N/A enumerate l start_transaction False N/A N/A N/A cu execute 
                SELECT row, (SELECT stream
                              FROM DBTroveFiles AS dbt
                              WHERE dbt.fileId = gft.fileId LIMIT 1) AS stream
                    FROM getfilesTbl AS gft
                    WHERE stream IS NOT NULL
         N/A l2 N/A N/A None N/A len l N/A N/A row stream cu N/A N/A fObj N/A N/A files ThawFile stream N/A N/A l N/A row N/A 0 N/A N/A N/A N/A l N/A row N/A 1 N/A N/A fObj fileId N/A N/A l2 N/A row fObj N/A l2 N/A hasTroves N/A N/A self troveList N/A N/A N/A instances N/A N/A self _lookupTroves troveList N/A result N/A N/A False N/A len troveList N/A N/A i instanceId N/A enumerate instances N/A N/A N/A instanceId None N/A N/A N/A result N/A i True N/A result N/A getTroves N/A N/A self troveList pristine withFiles withDeps withFileObjects N/A True True True False N/A N/A instances N/A N/A self _lookupTroves troveList N/A toFind N/A N/A N/A i instanceId N/A enumerate instances N/A N/A N/A instanceId None N/A N/A N/A N/A N/A N/A toFind setdefault instanceId N/A append i N/A results N/A None N/A x instances N/A instances N/A list N/A N/A self _iterTroves pristine instanceIds toFind withFiles withFiles withDeps withDeps withFileObjects withFileObjects N/A N/A instanceId instance N/A N/A itertools izip toFind instances N/A N/A slot N/A toFind N/A instanceId N/A N/A N/A results N/A slot instance N/A results N/A getTroveFiles N/A N/A self troveList onlyDirectories N/A False N/A N/A instanceIds N/A N/A self _lookupTroves troveList N/A N/A None instanceIds N/A N/A KeyError N/A trvByInstanceId N/A dict N/A N/A instId trvInfo N/A N/A instId trvInfo N/A N/A itertools izip instanceIds troveList N/A instId None N/A instanceIds N/A N/A trvByInstanceId keys N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A CREATE TEMPORARY TABLE getTrovesTbl(
                                idx %(PRIMARYKEY)s,
                                instanceId INT)
                    N/A N/A self db keywords start_transaction False N/A N/A N/A cu executemany INSERT INTO getTrovesTbl VALUES (?, ?) N/A list N/A enumerate instanceIds start_transaction False N/A onlyDirectories N/A N/A dirClause AND stream LIKE 'd%' N/A N/A dirClause N/A N/A N/A cu execute N/A SELECT instanceId, path, stream FROM getTrovesTbl JOIN
                        DBTroveFiles USING (instanceId)
                        WHERE isPresent = 1 %s
                        ORDER BY path dirClause N/A lastId None N/A N/A instanceId path stream cu N/A N/A N/A N/A N/A trvByInstanceId N/A instanceId path stream N/A N/A N/A cu execute DROP TABLE getTrovesTbl start_transaction False N/A _lookupTroves 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 cu execute N/A 
        CREATE TEMPORARY TABLE getTrovesTbl(
            idx %(PRIMARYKEY)s,
            troveName %(STRING)s,
            version %(STRING)s,
            flavor %(STRING)s
        )  N/A N/A self db keywords start_transaction False _iter N/A N/A tl N/A N/A N/A N/A i N/A name version flavor N/A enumerate tl N/A N/A N/A N/A i name N/A str version N/A N/A flavor freeze N/A N/A N/A N/A cu executemany INSERT INTO getTrovesTbl VALUES(?, ?, ?, ?) N/A _iter troveList start_transaction False N/A N/A N/A cu execute SELECT idx, Instances.instanceId FROM getTrovesTbl
                        JOIN Instances ON
                            Versions.versionId == Instances.versionId
                        JOIN Versions ON (Instances.versionId = Versions.versionId)
                        JOIN Flavors ON Instances.flavorId = Flavors.flavorId
                        WHERE Instances.troveName = getTrovesTbl.troveName
                              AND isPresent=1
                              AND Versions.version = getTrovesTbl.version
                              AND (Flavors.flavor = getTrovesTbl.flavor or getTrovesTbl.flavor = '' and Flavors.flavorId=0)
                     N/A r N/A N/A None N/A len troveList N/A N/A idx instanceId cu N/A N/A N/A r N/A idx instanceId N/A N/A N/A cu execute DROP TABLE getTrovesTbl start_transaction False N/A r N/A _iterTroves N/A N/A self pristine instanceIds withFiles withDeps errorOnMissing withFileObjects N/A True True True False N/A N/A 
        Iterates over the troves associated with a list of instanceIds.

        @param pristine: Return the trove unmodified based on the local system.
        @type pristine: boolean
        @param instanceIds: Instance ids to iterate over.
        @type instanceIds: list of int
        @param withFiles: Include (pathId, path, fileId, version) information
        for the files referenced by troves.
        @type withFiles: boolean
        @param errorOnMissing: Raise an error on a missing instanceId,
        otherwise return None
        @type errorOnMissing: boolean
        @param withFileObjects: Return Trove objects w/ file objects included.
        @type withFileObjects: boolean
         N/A instanceIds N/A list instanceIds N/A withFileObjects N/A N/A troveClass N/A trove TroveWithFileObjects N/A N/A troveClass N/A trove Trove N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A CREATE TEMPORARY TABLE getTrovesTbl(
                                idx %(PRIMARYKEY)s,
                                instanceId INT)
                    N/A N/A self db keywords start_transaction False N/A N/A N/A cu executemany INSERT INTO getTrovesTbl VALUES (?, ?) N/A list N/A enumerate instanceIds start_transaction False N/A N/A N/A cu execute SELECT idx, troveName, version, flavor, timeStamps
                      FROM getTrovesTbl
                      JOIN Instances USING(instanceId)
                      JOIN Versions USING(versionId)
                      JOIN Flavors ON (Instances.flavorId = Flavors.flavorId)
                   N/A versionCache N/A VersionCache N/A flavorCache N/A FlavorCache N/A results N/A None N/A x instanceIds N/A N/A idx troveName versionStr flavorStr timeStamps cu N/A N/A troveFlavor N/A N/A flavorCache get flavorStr N/A troveVersion N/A N/A versionCache get versionStr timeStamps N/A trv N/A troveClass troveName troveVersion troveFlavor None setVersion False N/A N/A results N/A idx trv N/A cu N/A N/A N/A self db cursor N/A pristine N/A N/A pristineClause TroveTroves.inPristine = 1 N/A N/A pristineClause Instances.isPresent = 1 N/A N/A N/A cu execute N/A 
            SELECT idx, troveName, version, flags, timeStamps, flavor
                FROM getTrovesTbl
                JOIN TroveTroves USING(instanceId)
                JOIN Instances
                JOIN Versions ON
                    Versions.versionId = Instances.versionId
                JOIN Flavors ON
                    TroveTroves.includedId = Instances.instanceId AND
                    Flavors.flavorId = Instances.flavorId
                WHERE %s
                ORDER BY idx
         pristineClause N/A N/A idx name versionStr flags timeStamps flavorStr cu N/A N/A version N/A N/A versionCache get versionStr timeStamps N/A flavor N/A N/A flavorCache get flavorStr 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 N/A results N/A idx addTrove name version flavor byDefault byDefault weakRef weakRef N/A N/A idx instanceId N/A enumerate instanceIds N/A N/A trv N/A results N/A idx N/A withDeps N/A N/A N/A N/A N/A self depTables get cu trv instanceId N/A N/A N/A N/A self troveInfoTable getInfo cu trv instanceId N/A N/A withFiles N/A N/A N/A trv N/A N/A N/A pristine withFiles N/A N/A withFileObjects N/A N/A streamStr stream N/A N/A streamStr NULL N/A N/A N/A cu execute N/A SELECT idx, pathId, path, version, fileId, isPresent,
                          %s
                          FROM getTrovesTbl
                          JOIN DBTroveFiles USING(instanceId)
                          JOIN Versions ON
                              Versions.versionId = DBTroveFiles.versionId
                          ORDER BY idx
                           streamStr N/A curIdx 0 N/A N/A idx pathId path version fileId isPresent stream cu N/A N/A N/A N/A pristine N/A isPresent N/A N/A N/A version N/A N/A versions VersionFromString version N/A N/A N/A N/A results N/A idx addFile pathId path version fileId N/A stream N/A N/A N/A N/A N/A results N/A idx addFileObject fileId N/A N/A files ThawFile stream pathId N/A N/A idx curIdx N/A N/A N/A N/A results N/A curIdx N/A curIdx 1 N/A N/A curIdx N/A len results N/A N/A N/A pristine N/A N/A N/A N/A N/A results N/A idx computePathHashes N/A N/A withFiles N/A N/A N/A N/A N/A results N/A idx removeAllFiles N/A N/A N/A results N/A curIdx N/A curIdx 1 N/A N/A N/A cu execute DROP TABLE getTrovesTbl start_transaction False N/A eraseTrove N/A N/A self troveName troveVersion troveFlavor N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A self needsCleanup N/A N/A N/A self needsCleanup True N/A N/A N/A cu execute N/A CREATE TEMPORARY TABLE RemovedVersions (rmvdVer %(PRIMARYKEY)s) N/A N/A self db keywords N/A troveVersionId N/A N/A self versionTable N/A troveVersion N/A N/A troveFlavor None N/A N/A troveFlavorId 0 N/A N/A troveFlavorId N/A N/A self flavors N/A troveFlavor N/A troveInstanceId N/A N/A self instances N/A N/A troveName troveVersionId troveFlavorId N/A N/A N/A cu execute INSERT OR IGNORE INTO RemovedVersions VALUES (?) troveVersionId N/A N/A N/A cu execute 
                INSERT OR IGNORE INTO RemovedVersions
                    SELECT DISTINCT DBTroveFiles.versionId FROM DBTroveFiles
                        WHERE
                            DBTroveFiles.instanceId = ? troveInstanceId N/A N/A N/A cu execute 
                INSERT OR IGNORE INTO RemovedVersions
                    SELECT DISTINCT Instances.versionId FROM
                        TroveTroves JOIN Instances ON
                            TroveTroves.includedId = Instances.instanceId
                        WHERE
                            TroveTroves.instanceId = ? troveInstanceId N/A wasIn N/A x N/A x N/A N/A cu execute select distinct troveTroves.instanceId from instances join trovetroves on instances.instanceid = trovetroves.includedId where troveName=? and (trovetroves.inPristine = 0 or instances.isPresent = 0) troveName N/A N/A N/A N/A self troveFiles delInstance troveInstanceId N/A N/A N/A cu execute DELETE FROM TroveTroves WHERE instanceId=? troveInstanceId N/A N/A N/A cu execute DELETE FROM TroveTroves WHERE includedId=? AND inPristine=0 troveInstanceId N/A N/A N/A N/A self depTables delete N/A N/A N/A self db cursor troveInstanceId N/A N/A N/A N/A self instances setPresent troveInstanceId 0 False N/A N/A x wasIn N/A N/A N/A N/A self _sanitizeTroveCollection cu x nameHint troveName N/A commit N/A N/A self N/A N/A N/A N/A self needsCleanup N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute DELETE FROM TroveInfo WHERE
                    instanceId IN (
                        SELECT Instances.instanceId FROM Instances
                        WHERE isPresent = 0)
                       N/A N/A N/A cu execute DELETE FROM Instances WHERE
                    instanceId IN (
                        SELECT Instances.instanceId
                        FROM
                        Instances LEFT OUTER JOIN TroveTroves
                        ON Instances.instanceId = TroveTroves.includedId
                        WHERE isPresent = 0 AND TroveTroves.includedId IS NULL)
                       N/A N/A N/A cu execute DELETE FROM Versions WHERE Versions.versionId IN
                            (SELECT rmvdVer FROM RemovedVersions
                                LEFT OUTER JOIN Instances ON
                                    rmvdVer == Instances.versionId
                                LEFT OUTER JOIN DBTroveFiles ON
                                    rmvdVer == DBTroveFiles.versionId
                                WHERE
                                    Instances.versionId is NULL AND
                                    DBTroveFiles.versionId is NULL) N/A N/A N/A cu execute DROP TABLE RemovedVersions N/A N/A self needsCleanup False N/A N/A N/A N/A self db commit N/A N/A self addVersionCache N/A N/A N/A self flavorsNeeded N/A N/A dependencyChecker N/A N/A self troveSource findOrdering ignoreDepClasses N/A True N/A set N/A N/A N/A N/A deptable DependencyChecker N/A self db troveSource findOrdering findOrdering ignoreDepClasses ignoreDepClasses N/A pathIsOwned N/A N/A self path N/A N/A N/A instanceId N/A N/A N/A self troveFiles iterPath path N/A N/A N/A N/A N/A self instances idIsPresent instanceId N/A N/A True N/A False N/A iterFindByPath N/A N/A self path pristine N/A False N/A N/A N/A N/A self _iterTroves instanceIds N/A N/A N/A self troveFiles iterPath path pristine pristine N/A pathsOwned N/A N/A self pathList N/A N/A N/A N/A pathList N/A N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A 
        CREATE TEMPORARY TABLE pathList(
            path        %(STRING)s
        ) N/A N/A self db keywords start_transaction False N/A N/A N/A N/A self db bulkload pathList N/A N/A x N/A x pathList N/A path start_transaction False N/A N/A N/A cu execute 
            SELECT path FROM pathList JOIN DBTroveFiles USING(path) WHERE
                DBTroveFiles.isPresent = 1
         N/A pathsFound N/A set N/A N/A x N/A 0 N/A x cu N/A N/A N/A cu execute DROP TABLE pathList start_transaction False N/A N/A N/A path pathsFound N/A path pathList N/A iterFindPathReferences N/A N/A self path justPresent withStream N/A False False N/A N/A withStream N/A N/A stream stream N/A N/A stream NULL N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A SELECT troveName, version, flavor, pathId, fileId,
                             DBTroveFiles.isPresent, %s
                            FROM DBTroveFiles JOIN Instances ON
                                DBTroveFiles.instanceId = Instances.instanceId
                            JOIN Versions ON
                                Instances.versionId = Versions.versionId
                            JOIN Flavors ON
                                Flavors.flavorId = Instances.flavorId
                            WHERE
                                path = ?
                     stream path N/A N/A name version flavor pathId fileId isPresent stream cu N/A N/A N/A N/A isPresent justPresent N/A N/A N/A version N/A N/A versions VersionFromString version N/A N/A flavor None N/A N/A flavor N/A N/A N/A deps deps Flavor N/A N/A flavor N/A N/A N/A deps deps ThawFlavor flavor N/A stream N/A N/A N/A N/A name version flavor pathId fileId stream N/A N/A N/A N/A name version flavor pathId fileId N/A removeFileFromTrove N/A N/A self trove path N/A N/A N/A versionId N/A N/A self versionTable N/A N/A N/A trove getVersion N/A flavorId N/A N/A self flavors N/A N/A N/A trove getFlavor N/A instanceId N/A N/A self instances N/A N/A N/A N/A trove getName versionId flavorId N/A N/A N/A N/A self troveFiles removePath instanceId path N/A removePathIdsFromTrove N/A N/A self troveName troveVersion troveFlavor pathIdList N/A N/A N/A versionId N/A N/A self versionTable N/A troveVersion N/A flavorId N/A N/A self flavors N/A troveFlavor N/A instanceId N/A N/A self instances N/A N/A troveName versionId flavorId N/A N/A N/A N/A self troveFiles removePathIds instanceId pathIdList N/A restorePathIdsToTrove N/A N/A self troveName troveVersion troveFlavor pathIdList N/A N/A N/A versionId N/A N/A self versionTable N/A troveVersion N/A flavorId N/A N/A self flavors N/A troveFlavor N/A instanceId N/A N/A self instances N/A N/A troveName versionId flavorId N/A N/A N/A N/A self troveFiles restorePathIds instanceId pathIdList N/A iterFilesInTrove N/A N/A self troveName version flavor sortByPath withFiles pristine N/A False False False N/A N/A sortByPath N/A N/A sort  ORDER BY path N/A N/A sort N/A cu N/A N/A N/A self db cursor N/A troveVersionId N/A N/A self versionTable N/A version N/A N/A N/A flavor isEmpty N/A N/A troveFlavorId 0 N/A N/A troveFlavorId N/A N/A self flavors N/A flavor N/A troveInstanceId N/A N/A self instances N/A N/A troveName troveVersionId troveFlavorId N/A versionCache N/A N/A pristine N/A N/A N/A N/A cu execute N/A SELECT pathId, path, fileId, versionId, stream FROM DBTroveFiles WHERE instanceId = ? %s sort troveInstanceId N/A N/A N/A N/A cu execute N/A SELECT pathId, path, fileId, versionId, stream FROM DBTroveFiles WHERE instanceId = ? AND isPresent=1 %s sort troveInstanceId N/A versionCache N/A N/A N/A pathId path fileId versionId stream cu N/A N/A version N/A N/A versionCache get versionId None 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 withFiles N/A N/A fileObj N/A N/A files ThawFile stream pathId N/A N/A N/A pathId path fileId version fileObj N/A N/A N/A N/A pathId path fileId version N/A mapPinnedTroves N/A N/A self mapList N/A N/A N/A N/A mapList N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A 
        CREATE TEMPORARY TABLE mlt(
            name             %(STRING)s,
            pinnedVersion    %(STRING)s,
            pinnedFlavor     %(STRING)s,
            mappedVersion    %(STRING)s,
            mappedTimestamps %(STRING)s,
            mappedFlavor     %(STRING)s
        )  N/A N/A self db keywords _iter N/A N/A ml N/A N/A N/A N/A name pinnedInfo mapInfo ml N/A N/A N/A N/A sum N/A N/A N/A mapInfo N/A 0 timeStamps 0 N/A N/A N/A N/A pinnedInfo N/A 1 None N/A N/A N/A pinnedInfo N/A 1 isEmpty N/A N/A pinnedFlavor None N/A N/A pinnedFlavor N/A N/A N/A pinnedInfo N/A 1 freeze N/A N/A N/A N/A mapInfo N/A 1 None N/A N/A N/A mapInfo N/A 1 isEmpty N/A N/A mapFlavor None N/A N/A mapFlavor N/A N/A N/A mapInfo N/A 1 freeze N/A N/A N/A name N/A N/A N/A pinnedInfo N/A 0 asString pinnedFlavor N/A N/A N/A mapInfo N/A 0 asString N/A N/A : join N/A N/A %.3f x N/A x N/A N/A N/A mapInfo N/A 0 timeStamps mapFlavor N/A N/A N/A cu executemany INSERT INTO mlt VALUES(?, ?, ?, ?, ?, ?) N/A _iter mapList N/A N/A N/A N/A cu execute INSERT INTO TroveTroves (instanceId, includedId,
                                               flags, inPristine)
                        SELECT TroveTroves.instanceId, pinnedInst.instanceId,
                               TroveTroves.flags, 0 FROM
                            mlt JOIN Flavors AS pinFlv ON
                                pinnedFlavor == pinFlv.flavor OR
                                pinnedFlavor IS NULL and pinFlv.flavor IS NULL
                            JOIN Versions AS pinVers ON
                                pinnedVersion == pinVers.version
                            JOIN Instances as pinnedInst ON
                                pinnedInst.troveName == mlt.name AND
                                pinnedInst.flavorId == pinFlv.flavorId AND
                                pinnedInst.versionId == pinVers.versionId
                            JOIN Flavors AS mapFlv ON
                                mappedFlavor == mapFlv.flavor OR
                                mappedFlavor IS NULL and mapFlv.flavor IS NULL
                            JOIN Versions AS mapVers ON
                                mappedVersion == mapVers.version
                            JOIN Instances as mapInst ON
                                mapInst.troveName == mlt.name AND
                                mapInst.flavorId == mapFlv.flavorId AND
                                mapInst.versionId == mapVers.versionId
                            JOIN TroveTroves ON
                                TroveTroves.includedId == mapInst.instanceId
                            LEFT JOIN TroveTroves AS dup ON
                                (dup.instanceId == TroveTroves.instanceId AND
                                 dup.includedId == pinnedInst.instanceId)
                            WHERE dup.instanceId IS NULL
                     N/A N/A N/A cu execute DROP TABLE mlt N/A getTroveContainers N/A N/A self l N/A N/A N/A 
        Return the troves which include the troves listed in l as strong
        references.
         N/A N/A N/A self _getTroveInclusions l False weakRefs False pristineOnly False N/A getTroveTroves N/A N/A self l weakRefs justPresent pristineOnly N/A False False True N/A N/A 
        Return the troves which the troves in l include as strong references.
        If weakRefs is True, also include the troves included as weak
        references. If justPresent is True, only include troves present
        in the database. If pristineOnly is True, inferred references aren't
        included.
         N/A N/A N/A self _getTroveInclusions l True weakRefs weakRefs justPresent justPresent pristineOnly pristineOnly N/A _getTroveInclusions N/A N/A self l included weakRefs justPresent pristineOnly N/A False False True N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A 
        CREATE TEMPORARY TABLE ftc(
            idx     INTEGER PRIMARY KEY,
            name    %(STRING)s,
            version %(STRING)s,
            flavor  %(STRING)s
        )  N/A N/A self db keywords start_transaction False N/A result N/A _iter N/A N/A infoList resultList N/A N/A N/A N/A idx info N/A enumerate infoList N/A N/A N/A N/A resultList append N/A N/A N/A N/A idx N/A info N/A 0 N/A N/A N/A info N/A 1 asString N/A N/A N/A info N/A 2 freeze N/A N/A N/A N/A cu executemany INSERT INTO ftc VALUES(?, ?, ?, ?) N/A _iter l result start_transaction False N/A included N/A N/A sense N/A instanceId includedId N/A N/A sense N/A includedId instanceId N/A justPresent N/A N/A presentFilter Instances.isPresent = 1 AND N/A N/A presentFilter N/A pristineOnly N/A N/A pristineFilter TroveTroves.inPristine = 1 AND N/A N/A pristineFilter N/A weakRefs N/A N/A weakRefsFilter 0 N/A N/A weakRefsFilter N/A schema TROVE_TROVES_WEAKREF N/A sql N/A SELECT idx, instances.troveName, Versions.version,
                             Flavors.flavor, instances.timeStamps, flags
                      FROM ftc
                      JOIN Instances AS IncInst ON
                          IncInst.troveName = ftc.name
                      JOIN Versions AS IncVersion ON
                          IncVersion.versionId = IncInst.versionId
                      JOIN Flavors AS IncFlavor ON
                          IncFlavor.flavorId = IncInst.flavorId
                      JOIN TroveTroves ON
                          TroveTroves.%s = IncInst.instanceId
                      JOIN Instances ON
                          Instances.instanceId = TroveTroves.%s
                      JOIN Versions ON
                          Versions.versionId = Instances.versionId
                      JOIN Flavors ON
                          Flavors.flavorId = Instances.flavorId
                      WHERE
                          %s
                          %s
                          IncVersion.version = ftc.version AND
                          (IncFlavor.flavor = ftc.flavor OR
                           (IncFlavor.flavor IS NULL AND ftc.flavor = "")) AND
                          (TroveTroves.flags & %d) == 0
                    N/A sense N/A presentFilter pristineFilter weakRefsFilter N/A N/A N/A cu execute sql N/A N/A idx name version flavor ts flags cu N/A N/A ts N/A N/A float x N/A x N/A N/A ts split : N/A N/A N/A N/A result N/A idx append N/A name N/A N/A versions VersionFromString version timeStamps ts N/A N/A N/A deps deps ThawFlavor flavor N/A N/A N/A cu execute DROP TABLE ftc start_transaction False N/A result N/A findTroveContainers N/A N/A self names N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A 
        CREATE TEMPORARY TABLE ftc(
            idx INTEGER,
            name %(STRING)s
        ) N/A N/A self db keywords start_transaction False N/A N/A N/A cu executemany INSERT INTO ftc VALUES(?, ?) N/A enumerate names start_transaction False N/A N/A N/A cu execute SELECT idx, Instances.troveName, Versions.version,
                             Flavors.flavor
                        FROM ftc
                        JOIN Instances AS IncInst ON
                            ftc.name = IncInst.troveName
                        JOIN TroveTroves ON
                            IncInst.instanceId = TroveTroves.includedId
                        JOIN Instances ON
                            TroveTroves.instanceId = Instances.instanceId
                        JOIN Flavors ON
                            Instances.flavorId = Flavors.flavorId
                        JOIN Versions ON
                            Instances.versionId = Versions.versionId
                 N/A result N/A N/A N/A x names N/A N/A idx name version flavor cu N/A N/A N/A N/A N/A result N/A idx append N/A name N/A N/A versions VersionFromString version N/A N/A N/A deps deps ThawFlavor flavor N/A N/A N/A cu execute DROP TABLE ftc start_transaction False N/A result N/A findTroveReferences N/A N/A self names N/A N/A N/A  return trove tuples that a) have a name in the given list of
            names and b) are referenced by the pristine version of troves
            installed in this system.
            Note that the trove tuples returned may not be installed - they
            merely must be referenced by an installed trove.
         N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A 
        CREATE TEMPORARY TABLE ftc(
            idx INTEGER,
            name %(STRING)s
        ) N/A N/A self db keywords start_transaction False N/A N/A N/A cu executemany INSERT INTO ftc VALUES(?, ?) N/A enumerate names start_transaction False N/A N/A N/A cu execute SELECT idx, Instances.troveName, Versions.version,
                             Flavors.flavor
                        FROM ftc
                        JOIN Instances AS IncInst ON
                            ftc.name = IncInst.troveName
                        JOIN TroveTroves ON
                            (IncInst.instanceId = TroveTroves.includedId
                             AND TroveTroves.inPristine = 1)
                        JOIN Instances ON
                            IncInst.instanceId = Instances.instanceId
                        JOIN Flavors ON
                            IncInst.flavorId = Flavors.flavorId
                        JOIN Versions ON
                            IncInst.versionId = Versions.versionId
                 N/A result N/A N/A N/A x names N/A N/A idx name version flavor cu N/A N/A N/A N/A N/A result N/A idx append N/A name N/A N/A versions VersionFromString version N/A N/A N/A deps deps ThawFlavor flavor N/A N/A N/A cu execute DROP TABLE ftc start_transaction False N/A result N/A findUnreferencedTroves 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 troveName, version, flavor FROM Instances
                    LEFT OUTER JOIN TroveTroves ON
                        Instances.instanceId = TroveTroves.includedId
                    JOIN Versions ON
                        Instances.versionId = Versions.versionId
                    JOIN Flavors ON
                        Instances.flavorId = Flavors.flavorId
                    WHERE
                        includedid IS NULL AND
                        version NOT LIKE "%/local@LOCAL:%"
         N/A l N/A N/A N/A name version flavorStr cu N/A N/A N/A flavorStr None N/A N/A flavorStr N/A N/A N/A deps deps Flavor N/A N/A flavorStr N/A N/A N/A deps deps ThawFlavor flavorStr N/A N/A N/A l append N/A name N/A N/A versions VersionFromString version flavorStr N/A l N/A iterUpdateContainerInfo N/A N/A self troveNames N/A None N/A N/A 
            Returns information about troves and their containers that should
            be enough to determine what local updates have been made to the
            system.

            If troveNames are specified, returns enough information to be
            used to determine what local updates have been made to the
            given troves.

            Yields ((name, version, flavor), parentInfo, isPresent)
            tuples, for troves on the system that may be part of a local
            update.  parentInfo may be (name, version, flavor) or None.
         N/A cu N/A N/A N/A self db cursor N/A troveNames N/A N/A N/A N/A cu execute CREATE TEMPORARY TABLE tmpInst(instanceId INT) start_transaction False N/A N/A N/A cu executemany INSERT INTO tmpInst SELECT instanceId FROM Instances
                WHERE troveName = ? troveNames start_transaction False N/A N/A N/A cu execute 
                INSERT INTO tmpInst
                    SELECT DISTINCT SameName.instanceId
                        FROM tmpInst
                        JOIN TroveTroves
                           ON (TroveTroves.includedId = tmpInst.instanceId)
                        JOIN Instances
                           ON (TroveTroves.instanceId = Instances.instanceId)
                        JOIN Instances AS SameName
                           ON (Instances.troveName == SameName.troveName)
                        WHERE SameName.instanceId NOT IN
                              (SELECT instanceId from tmpInst)
                 start_transaction False N/A fromClause FROM tmpInst JOIN Instances USING(instanceId) N/A N/A fromClause FROM Instances N/A N/A N/A cu execute N/A 
        SELECT Instances.isPresent, Instances.troveName, Versions.version,
               Instances.timeStamps, Flavors.flavor,
               Parent.troveName, ParentVersion.version, Parent.timeStamps,
               ParentFlavor.flavor, TroveTroves.flags
        %s
        /* There must be something with this name that is present */
        JOIN Instances AS InstPresent ON
            (InstPresent.troveName=Instances.troveName and
             InstPresent.isPresent)
        /* And that thing must not be referenced
         * or any reference must be weak
         * (we ensure later that this TroveTroves.instanceId != NULL)
         */
        LEFT JOIN TroveTroves AS NotReferenced ON
            (InstPresent.instanceId=NotReferenced.includedId
             AND NotReferenced.inPristine=1
             AND NotReferenced.flags IN (0,2))
        JOIN Versions ON
            Instances.versionId = Versions.versionId
        JOIN Flavors ON
            Instances.flavorId = Flavors.flavorId
        /* Find the actual parents for this trove */
        LEFT OUTER JOIN TroveTroves ON
            (Instances.instanceId = TroveTroves.includedId
             AND TroveTroves.inPristine=1)
        LEFT OUTER JOIN Instances AS Parent ON
            TroveTroves.instanceId=Parent.instanceId
        LEFT OUTER JOIN Versions AS ParentVersion ON
            ParentVersion.versionId=Parent.versionId
        LEFT OUTER JOIN Flavors AS ParentFlavor ON
            ParentFlavor.flavorId=Parent.flavorId
        /* Conditions:
            1. These must be a trove with the same name
               that is not referenced or is only referenced
               weakly.
            2. We only want parents that are pristine
         */
        WHERE (NotReferenced.instanceId IS NULL
              AND (TroveTroves.inPristine=1
                    OR TroveTroves.inPristine is NULL)
              )
         fromClause N/A versionCache N/A VersionCache N/A flavorCache N/A FlavorCache N/A N/A isPresent name versionStr timeStamps flavorStr parentName parentVersionStr parentTimeStamps parentFlavor flags cu N/A N/A parentName N/A N/A weakRef N/A flags N/A schema TROVE_TROVES_WEAKREF N/A v N/A N/A versionCache get parentVersionStr parentTimeStamps N/A f N/A N/A flavorCache get parentFlavor N/A parentInfo N/A parentName v f N/A N/A weakRef False N/A parentInfo None N/A version N/A N/A versionCache get versionStr timeStamps N/A flavor N/A N/A flavorCache get flavorStr N/A N/A N/A N/A name version flavor parentInfo isPresent weakRef N/A troveNames N/A N/A N/A N/A cu execute DROP TABLE tmpInst start_transaction False N/A getAllTroveInfo N/A N/A self troveInfoTag 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 troveName, version, timeStamps, flavor, data FROM TroveInfo
                JOIN Instances USING (instanceId)
                JOIN Flavors USING (flavorId)
                JOIN Versions ON Instances.versionId = Versions.versionId
                WHERE infoType = ?
         troveInfoTag N/A versionCache N/A VersionCache N/A flavorCache N/A FlavorCache N/A N/A N/A N/A TroveTuple name N/A x N/A 0 version N/A N/A versionCache get N/A x N/A 1 N/A x N/A 2 flavor N/A N/A flavorCache get N/A x N/A 3 N/A x N/A 4 N/A x cu N/A _getTroveInfo N/A N/A self troveList troveInfoTag N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A 
        CREATE TEMPORARY TABLE getTrovesTbl(
            idx       %(PRIMARYKEY)s,
            troveName %(STRING)s,
            versionId INTEGER,
            flavorId  INTEGER
        )  N/A N/A self db keywords start_transaction False N/A r N/A _iter N/A N/A tl r N/A N/A N/A N/A i N/A name version flavor N/A enumerate tl N/A N/A flavorId N/A N/A N/A self flavors get flavor None N/A N/A flavorId None N/A N/A N/A versionId N/A N/A N/A self versionTable get version None N/A N/A versionId None N/A N/A N/A N/A N/A r append None N/A N/A N/A i name versionId flavorId N/A N/A N/A N/A cu executemany INSERT INTO getTrovesTbl VALUES(?, ?, ?, ?) N/A _iter troveList r start_transaction False N/A N/A N/A cu execute SELECT idx, TroveInfo.data FROM getTrovesTbl
                        INNER JOIN Instances ON
                            getTrovesTbl.troveName == Instances.troveName AND
                            getTrovesTbl.flavorId == Instances.flavorId AND
                            getTrovesTbl.versionId == Instances.versionId AND
                            Instances.isPresent == 1
                        INNER JOIN TroveInfo USING (instanceId)
                        WHERE TroveInfo.infoType = ?
                     troveInfoTag N/A N/A idx data cu N/A N/A N/A r N/A idx N/A N/A N/A N/A N/A trove TroveInfo streamDict N/A troveInfoTag N/A 1 data N/A N/A N/A cu execute DROP TABLE getTrovesTbl start_transaction False N/A r N/A getPathHashesForTroveList N/A N/A self troveList N/A N/A N/A 
            Returns the pathHashes for the given trove list.
         N/A N/A N/A self _getTroveInfo troveList N/A trove _TROVEINFO_TAG_PATH_HASHES N/A getCapsulesTroveList N/A N/A self troveList N/A N/A N/A  
            Returns the capsule data for the given trove list.
         N/A N/A N/A self _getTroveInfo troveList N/A trove _TROVEINFO_TAG_CAPSULE N/A getTroveScripts N/A N/A self troveList N/A N/A N/A 
            Returns the trove scripts for the given trove list. None is
            returned for troves with no scripts. Returns a list of
            trove.TroveScripts objects.
         N/A N/A N/A self _getTroveInfo troveList N/A trove _TROVEINFO_TAG_SCRIPTS N/A getTroveCompatibilityClass N/A N/A self name version flavor N/A N/A N/A N/A N/A flavor None N/A N/A flavor isEmpty N/A N/A flavorClause IS NULL N/A N/A flavorClause N/A = '%s' N/A N/A flavor freeze N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A 
            SELECT data FROM Instances
                    JOIN Versions USING (versionId)
                    JOIN Flavors ON Instances.flavorId = Flavors.flavorId
                    LEFT OUTER JOIN TroveInfo ON
                        Instances.instanceId = TroveInfo.instanceId AND
                        TroveInfo.infoType = ?
                    WHERE
                        Instances.troveName = ? AND
                        Versions.version = ? AND
                        Flavors.flavor %s
         flavorClause N/A trove _TROVEINFO_TAG_COMPAT_CLASS name N/A str version N/A l N/A N/A cu fetchall N/A N/A l N/A N/A KeyError N/A N/A N/A N/A N/A l N/A 0 N/A 0 None N/A N/A 0 N/A N/A N/A N/A streams ShortStream N/A N/A l N/A 0 N/A 0 N/A findRemovedByName N/A N/A self name N/A N/A N/A 
        Returns information on erased troves with a given name.
         N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute SELECT troveName, version, flavor FROM
                            Instances JOIN Versions ON
                                Instances.versionId = Versions.versionId
                            JOIN Flavors ON
                                Instances.flavorId = Flavors.flavorId
                            WHERE
                                isPresent = 0 AND
                                troveName = (?) name N/A N/A N/A n N/A N/A versions VersionFromString v N/A N/A N/A deps deps ThawFlavor f N/A N/A n v f cu N/A findByNames N/A N/A self nameList N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A SELECT troveName, version, flavor, timeStamps FROM
                            Instances JOIN Versions ON
                                Instances.versionId = Versions.versionId
                            JOIN Flavors ON
                                Instances.flavorId = Flavors.flavorId
                            WHERE
                                isPresent = 1 AND
                                troveName IN (%s) N/A N/A , join N/A N/A '%s' x N/A x nameList N/A versionCache N/A VersionCache N/A flavorCache N/A FlavorCache N/A l N/A N/A N/A name version flavor timeStamps cu N/A N/A version N/A N/A versionCache get version timeStamps N/A flavor N/A N/A flavorCache get flavor N/A N/A N/A l append N/A name version flavor N/A l N/A troveIsIncomplete N/A N/A self name version flavor N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A isinstance flavor N/A N/A deps deps Flavor N/A N/A N/A flavor isEmpty N/A N/A flavorStr flavor = ? N/A flavorArgs N/A N/A N/A flavor freeze N/A N/A flavorStr flavor IS NULL N/A flavorArgs N/A N/A N/A N/A cu execute N/A 
                SELECT data FROM Instances
                    JOIN Versions USING (versionId)
                    JOIN Flavors ON
                        Instances.flavorId = Flavors.flavorId
                    JOIN TroveInfo ON
                        Instances.instanceId = TroveInfo.instanceId
                WHERE
                    infoType = ? AND
                    troveName = ? AND
                    version = ? AND
                    %s flavorStr N/A N/A N/A trove _TROVEINFO_TAG_INCOMPLETE name N/A str version flavorArgs N/A frzIncomplete N/A N/A N/A cu next N/A 0 N/A N/A N/A N/A N/A streams ByteStream frzIncomplete 0 N/A iterFilesWithTag N/A N/A self tag N/A N/A N/A N/A N/A N/A self troveFiles iterFilesWithTag tag N/A getTrovesWithProvides N/A N/A self depSetList N/A N/A N/A N/A N/A N/A self depTables getLocalProvides depSetList N/A getCompleteTroveSet N/A N/A self names N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute N/A CREATE TEMPORARY TABLE gcts(troveName %(STRING)s) N/A N/A self db keywords start_transaction False N/A N/A N/A cu executemany INSERT INTO gcts VALUES (?) names start_transaction False N/A N/A N/A cu execute 
                SELECT Instances.troveName, version, flavor, isPresent,
                       timeStamps, TroveTroves.flags, TroveTroves.inPristine
                    FROM
                    gcts LEFT OUTER JOIN Instances
                        USING (troveName)
                    JOIN Versions
                        USING(versionId)
                    JOIN Flavors ON
                        Instances.flavorId = Flavors.flavorId
                    LEFT JOIN TroveTroves ON
                        Instances.instanceId = TroveTroves.includedId
                WHERE
                    Instances.troveName IS NOT NULL
             N/A installedNotReferenced N/A N/A installedAndReferenced N/A N/A referencedStrong N/A N/A referencedWeak N/A N/A versionCache N/A VersionCache N/A flavorCache N/A FlavorCache N/A N/A name version flavor isPresent timeStamps flags hasParent cu N/A N/A v N/A N/A versionCache get version timeStamps N/A f N/A N/A flavorCache get flavor N/A info N/A name v f N/A isPresent N/A N/A hasParent N/A N/A N/A N/A installedAndReferenced append info N/A N/A N/A N/A installedNotReferenced append info N/A N/A N/A flags N/A schema TROVE_TROVES_WEAKREF N/A N/A N/A N/A referencedWeak append info N/A N/A N/A N/A referencedStrong append info N/A N/A N/A cu execute DROP TABLE gcts start_transaction False N/A referencedStrong N/A set referencedStrong N/A installedAndReferenced N/A set installedAndReferenced N/A N/A N/A N/A set installedNotReferenced installedAndReferenced installedAndReferenced referencedStrong N/A N/A set referencedWeak referencedStrong N/A getMissingPathIds N/A N/A self name version flavor N/A N/A N/A cu N/A N/A N/A self db cursor N/A flavorId N/A N/A N/A self flavors get flavor None N/A N/A flavorId None N/A N/A KeyError N/A versionId N/A N/A N/A self versionTable get version None N/A N/A versionId None N/A N/A KeyError N/A N/A N/A cu execute 
            SELECT pathId FROM Instances JOIN DBTroveFiles USING (instanceId)
                WHERE Instances.troveName = ? AND Instances.versionId = ?
                AND Instances.flavorId = ? AND DBTroveFiles.isPresent = 0 name versionId flavorId N/A N/A N/A x N/A 0 N/A x cu N/A _getTransactionCounter N/A N/A self field N/A N/A N/A Get transaction counter
        Return (Boolean, value) with boolean being True if the counter was
        found in the table N/A N/A DatabaseAttributes N/A N/A self db tables N/A N/A N/A False 0 N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute SELECT value FROM DatabaseAttributes WHERE name = ? field N/A N/A N/A row N/A N/A cu next N/A counter N/A row N/A 0 N/A N/A N/A StopIteration N/A N/A N/A False 0 N/A N/A N/A counter N/A int counter N/A N/A N/A ValueError N/A N/A N/A True 0 N/A N/A True counter N/A getTransactionCounter N/A N/A self N/A N/A N/A Get transaction counter N/A field transaction counter N/A N/A N/A N/A self _getTransactionCounter field N/A 1 N/A incrementTransactionCounter N/A N/A self N/A N/A N/A Increment the transaction counter.
        To work reliably, you should already have the database locked, you
        don't want the read and update to be interrupted by another update N/A field transaction counter N/A N/A exists counter N/A N/A self _getTransactionCounter field N/A cu N/A N/A N/A self db cursor N/A N/A exists N/A N/A N/A N/A cu execute INSERT INTO DatabaseAttributes (name, value) VALUES (?, ?) field 1 N/A 1 N/A counter 1 N/A N/A N/A cu execute UPDATE DatabaseAttributes SET value = ? WHERE name = ? N/A str counter field N/A counter N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self db close N/A N/A