Module Import alias Import alias Import alias Import alias Import alias alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Str ClassDef bases body Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareGt Call NameLoad Call AttributeLoad NameLoad attr Num body Raise AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Return NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad body Return NameLoad If AttributeLoad NameLoad attr body TryExcept body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler body Return NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore CompareEq Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot NameLoad body Return Dict Assign NameStore ListLoad Assign NameStore ListLoad If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr GeneratorExp Str comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr GeneratorExp Str comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return Dict Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Dict Assign NameStore CompareGt Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Num Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotEq SubscriptLoad NameLoad Index Num Str If BoolOpAnd NameLoad NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareEq SubscriptLoad NameLoad Index Num Str Return Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num comprehension NameStore 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 ListComp SubscriptLoad NameLoad Index Num comprehension NameStore 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 Call NameLoad NameLoad body Return SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Raise 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 Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list decorator_list ClassDef bases body Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad NameLoad NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse If CompareIsNot NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad If CompareIsNot NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr ListLoad NameLoad If AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Return Call NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str NameLoad body Return Call NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore SubscriptLoad NameLoad Index Str If CompareIs NameLoad NameLoad body Assign NameStore Num Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad NameLoad BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BoolOpOr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore ListLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body AugAssignAdd NameStore Call AttributeLoad NameLoad attr If NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Raise AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Continue TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler body Continue Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Index Num BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMult ListLoad NameLoad Call NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Num body Return NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad If UnaryOpNot Call NameLoad NameLoad body Return NameLoad Expr Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad ListLoad Str Str Str Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Str If NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad Str attr GeneratorExp BinOpMod Str NameLoad comprehension NameStore NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Index Num BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num NameLoad Assign NameStore Dict Assign NameStore ListLoad For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If CompareNotIn Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult ListLoad NameLoad Call NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Num body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad If UnaryOpNot Call NameLoad NameLoad body Return NameLoad Assign NameStore Str Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr GeneratorExp BinOpMod Str NameLoad comprehension NameStore NameLoad If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore BinOpAdd Str Call AttributeLoad Str attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad For NameStore SubscriptLoad NameLoad Index NameLoad body For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Break Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Index Num BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num Call NameLoad Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Num body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad If CompareLt Call NameLoad NameLoad Num body Return NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr GeneratorExp BinOpMod Str NameLoad comprehension NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd NameLoad NameLoad body Assign NameStore NameLoad If BoolOpAnd NameLoad BoolOpOr NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore BoolOpOr UnaryOpNot NameLoad BoolOpAnd NameLoad NameLoad Assign NameStore BoolOpOr UnaryOpNot NameLoad BoolOpAnd NameLoad NameLoad Return BoolOpAnd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad body Return NameLoad Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Index Num BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num Call NameLoad Call NameLoad NameLoad NameLoad NameLoad Call NameLoad Call NameLoad NameLoad If BoolOpAnd NameLoad CompareNotIn Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If UnaryOpNot SubscriptLoad NameLoad Index Num body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad If CompareLt Call NameLoad NameLoad Num body Return NameLoad orelse If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body Return NameLoad Assign NameStore Str Assign NameStore ListLoad Assign NameStore ListLoad If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr GeneratorExp BinOpMod Str NameLoad comprehension NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body AugAssignAdd NameStore BinOpAdd Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num TryExcept body Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If BoolOpOr CompareNotEq NameLoad NameLoad CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad NameLoad For TupleStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad 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 Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad body Return SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Raise 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 Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad body Return SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Raise AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str TupleLoad Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str TupleLoad Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str Dict Str NameLoad If CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Num body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr 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 Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore 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 ListComp SubscriptLoad NameLoad Index Num comprehension NameStore 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 NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Dict For NameStore TupleLoad Str Str Str Str body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr 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 Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad body Return SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Raise AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareGt Call NameLoad Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad NameLoad body Return NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad If NameLoad body Assert CompareEq Call NameLoad NameLoad Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad If UnaryOpNot Call NameLoad Call AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num orelse Assert UnaryOpNot NameLoad Assign NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad body Raise AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad NameLoad NameLoad If CompareGt Call NameLoad NameLoad NameLoad body Raise AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareEq NameLoad Num body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad If Call NameLoad Call AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad NameLoad NameLoad If CompareGt Call NameLoad NameLoad NameLoad body Raise AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad If UnaryOpNot Call NameLoad Call AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If Call NameLoad Call AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Raise AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad body Return SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad body Raise AttributeLoad NameLoad attr Return TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Raise AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return ListComp Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Return ListLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Raise AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Str attr ListComp Str comprehension NameStore NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Raise AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Raise AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Str attr ListComp Str comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Raise AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad Str attr ListComp Str comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Dict If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Raise AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Str attr GeneratorExp Str comprehension NameStore NameLoad Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Return Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Num TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotIn NameLoad ListLoad Str body Raise NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr BoolOpOr CompareEq NameLoad Str CompareEq Call AttributeLoad Call NameLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad 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 defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A itertools N/A logging N/A os N/A time N/A urllib urllib2 N/A xml conary conarycfg versions conary.deps deps conary.repository errors conary.lib digestlib sha1helper tracelog conary.dbstore sqlerrors conary.server.schema resetTable N/A items accessmap geoip auth_tokens AuthToken ValidUser ValidPasswordToken N/A log N/A N/A logging getLogger __name__ N/A MAX_ENTITLEMENT_LENGTH 255 N/A nameCharacterSet abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789._-\@ UserAuthorization N/A N/A N/A pwCache N/A __init__ N/A N/A self db pwCheckUrl cacheTimeout N/A None None N/A N/A N/A self db db N/A N/A self pwCheckUrl pwCheckUrl N/A N/A self cacheTimeout cacheTimeout N/A addUserByMD5 N/A N/A self cu user salt password N/A N/A N/A letter user N/A N/A N/A letter nameCharacterSet N/A N/A N/A N/A errors InvalidName user N/A N/A N/A N/A N/A cu execute INSERT INTO Users (userName, salt, password) VALUES (?, ?, ?) N/A user N/A N/A salt encode hex password N/A uid N/A cu lastrowid N/A N/A N/A N/A sqlerrors ColumnNotUnique N/A N/A N/A errors UserAlreadyExists N/A user: %s user N/A N/A N/A cu execute SELECT userId FROM Users WHERE LOWER(userName)=LOWER(?) user N/A N/A N/A len N/A N/A cu fetchall 1 N/A N/A N/A errors UserAlreadyExists N/A user: %s user N/A uid N/A changePassword N/A N/A self cu user salt password N/A N/A N/A N/A self pwCheckUrl N/A N/A N/A errors CannotChangePassword N/A N/A N/A cu execute UPDATE Users SET password=?, salt=? WHERE userName=? password N/A N/A salt encode hex user N/A _checkPassword N/A N/A self user salt password challenge remoteIp N/A None N/A N/A N/A challenge ValidPasswordToken N/A N/A True N/A N/A self cacheTimeout N/A N/A cacheEntry N/A N/A sha1helper sha1String N/A %s%s N/A user challenge N/A timeout N/A N/A N/A self pwCache get cacheEntry None N/A N/A N/A timeout None N/A N/A N/A time time timeout N/A N/A True N/A N/A self pwCheckUrl N/A N/A N/A N/A url N/A %s?user=%s;password=%s N/A N/A self pwCheckUrl N/A N/A urllib quote user N/A N/A urllib quote challenge N/A N/A remoteIp None N/A N/A url N/A ;remote_ip=%s N/A N/A urllib quote remoteIp N/A f N/A N/A urllib2 urlopen url N/A xmlResponse N/A N/A f read N/A N/A N/A N/A False N/A p N/A PasswordCheckParser N/A N/A N/A p parse xmlResponse N/A isValid N/A N/A p validPassword N/A N/A m N/A N/A digestlib md5 N/A N/A N/A m update salt N/A N/A N/A m update challenge N/A isValid N/A N/A N/A m hexdigest password N/A N/A isValid N/A self cacheTimeout N/A N/A N/A N/A self pwCache N/A cacheEntry N/A N/A N/A time time N/A self cacheTimeout N/A isValid N/A deleteUser N/A N/A self cu user N/A N/A N/A userId N/A N/A self getUserIdByName user N/A sql DELETE from UserGroupMembers WHERE userId=? N/A N/A N/A cu execute sql userId N/A sql DELETE from Users WHERE userId=? N/A N/A N/A cu execute sql userId N/A _rolesFromNames N/A N/A self cu roleList N/A N/A N/A N/A roleList N/A N/A N/A N/A where N/A N/A args N/A N/A N/A * roleList N/A N/A N/A N/A where append true N/A N/A ids N/A set N/A x N/A x roleList N/A isinstance x int N/A names N/A set N/A x N/A x roleList N/A N/A isinstance x int N/A ids N/A N/A places N/A N/A ,  join N/A ? N/A x ids N/A N/A N/A where append N/A userGroupId IN ( %s ) N/A places N/A N/A N/A args extend ids N/A names N/A N/A places N/A N/A ,  join N/A ? N/A x names N/A N/A N/A where append N/A userGroup IN ( %s ) N/A places N/A N/A N/A args extend names N/A N/A where N/A N/A N/A N/A where N/A N/A  OR  join where N/A query N/A SELECT userGroupId, accept_flags FROM UserGroups WHERE %s where N/A N/A N/A cu execute query args N/A N/A dict N/A N/A N/A x N/A 0 N/A N/A deps ThawFlavor N/A x N/A 1 N/A x cu N/A getAuthorizedRoles N/A N/A self cu user password allowAnonymous remoteIp N/A True None N/A N/A 
        Given a user and password, return the list of roles that are
        authorized via these credentials.

        Returns a dictionary where the key is a role ID and the value is a
        Flavor object holding the role's accept flags.
         N/A N/A isinstance user ValidUser N/A N/A N/A N/A self _rolesFromNames cu N/A user roles N/A N/A N/A cu execute 
        SELECT Users.salt, Users.password, UserGroupMembers.userGroupId,
               Users.userName, UserGroups.canMirror, UserGroups.accept_flags
        FROM Users
        JOIN UserGroupMembers USING(userId)
        JOIN UserGroups USING(userGroupId)
        WHERE Users.userName = ? OR Users.userName = 'anonymous'
         user N/A result N/A N/A cu fetchall N/A N/A result N/A N/A N/A N/A canMirror N/A N/A sum N/A N/A x N/A 4 N/A x result 0 N/A userPasswords N/A x N/A x result N/A N/A x N/A 3 anonymous N/A N/A userPasswords canMirror N/A N/A allowAnonymous False N/A N/A allowAnonymous N/A N/A result userPasswords N/A N/A userPasswords N/A N/A N/A self _checkPassword user N/A N/A N/A N/A userPasswords N/A 0 N/A 0 decode hex N/A N/A userPasswords N/A 0 N/A 1 password remoteIp N/A N/A result N/A x N/A x result N/A N/A x N/A 3 anonymous N/A N/A dict N/A N/A N/A x N/A 2 N/A N/A deps ThawFlavor N/A x N/A 5 N/A x result N/A getRolesByUser N/A N/A self user 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 userGroup FROM Users
                        JOIN UserGroupMembers USING (userId)
                        JOIN UserGroups USING (userGroupId)
                        WHERE Users.userName = ? user N/A N/A N/A x N/A 0 N/A x cu N/A getUserIdByName N/A N/A self userName 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 userId FROM Users WHERE userName=? userName N/A ret N/A N/A cu fetchall N/A N/A len ret N/A N/A N/A N/A ret N/A 0 N/A 0 N/A N/A N/A errors UserNotFound userName N/A getUserList 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 userName FROM Users N/A N/A N/A x N/A 0 N/A x cu N/A N/A EntitlementAuthorization N/A N/A N/A cache N/A __init__ N/A N/A self entCheckUrl cacheTimeout N/A None None N/A N/A N/A self entCheckUrl entCheckUrl N/A N/A self cacheTimeout cacheTimeout N/A getAuthorizedRoles N/A N/A self cu serverName remoteIp entitlementClass entitlement N/A N/A N/A 
        Given an entitlement, return the list of roles that the
        credentials authorize.
         N/A cacheEntry N/A N/A sha1helper sha1String N/A %s%s%s N/A serverName entitlementClass entitlement N/A N/A roleIds timeout autoRetry N/A N/A N/A self cache get cacheEntry N/A None None None N/A N/A N/A timeout None N/A N/A N/A time time timeout N/A N/A roleIds N/A N/A N/A timeout None N/A N/A N/A N/A self cache N/A cacheEntry N/A N/A autoRetry True N/A N/A N/A N/A errors EntitlementTimeout N/A entitlement N/A N/A self entCheckUrl N/A N/A N/A entitlementClass None N/A N/A url N/A %s?server=%s;class=%s;key=%s N/A N/A self entCheckUrl N/A N/A urllib quote serverName N/A N/A urllib quote entitlementClass N/A N/A urllib quote entitlement N/A N/A url N/A %s?server=%s;key=%s N/A N/A self entCheckUrl N/A N/A urllib quote serverName N/A N/A urllib quote entitlement N/A N/A remoteIp None N/A N/A url N/A ;remote_ip=%s N/A N/A urllib quote remoteIp N/A N/A N/A f N/A N/A urllib2 urlopen url N/A xmlResponse N/A N/A f read N/A N/A N/A Exception N/A N/A N/A set N/A p N/A N/A conarycfg EntitlementParser N/A N/A N/A N/A N/A p parse xmlResponse N/A N/A N/A N/A N/A set N/A N/A N/A p N/A server serverName N/A N/A N/A set N/A entitlementClass N/A p N/A class N/A entitlement N/A p N/A key N/A entitlementRetry N/A p N/A retry N/A N/A N/A p N/A timeout None N/A N/A entitlementTimeout N/A self cacheTimeout N/A N/A entitlementTimeout N/A p N/A timeout N/A N/A entitlementTimeout None N/A N/A entitlementTimeout -1 N/A N/A N/A cu execute 
        SELECT UserGroups.userGroupId, UserGroups.accept_flags
        FROM Entitlements
        JOIN EntitlementAccessMap USING (entGroupId)
        JOIN UserGroups USING (userGroupId)
        WHERE entitlement=?
         entitlement N/A roleIds N/A dict N/A N/A N/A x N/A 0 N/A N/A deps ThawFlavor N/A x N/A 1 N/A x cu N/A N/A self entCheckUrl N/A N/A N/A N/A self cache N/A cacheEntry N/A roleIds N/A N/A N/A time time entitlementTimeout entitlementRetry N/A roleIds N/A N/A NetworkAuthorization N/A N/A __init__ N/A N/A self db serverNameList cacheTimeout log passwordURL entCheckURL geoIpFiles N/A None None None None None N/A N/A 
        @param cacheTimeout: Timeout, in seconds, for authorization cache
        entries. If None, no cache is used.
        @type cacheTimeout: int
        @param passwordURL: URL base to use for an http get request to
        externally validate user passwords. When this is specified, the
        passwords int the local database are ignored, and the changePassword()
        call is disabled.
        @param entCheckURL: URL base for mapping an entitlement received
        over the network to an entitlement to check for in the database.
         N/A N/A self serverNameList serverNameList N/A N/A self db db N/A N/A self log N/A log N/A N/A tracelog getLog None N/A N/A self userAuth N/A UserAuthorization N/A self db passwordURL cacheTimeout cacheTimeout N/A N/A self entitlementAuth N/A EntitlementAuthorization cacheTimeout cacheTimeout entCheckUrl entCheckURL N/A N/A self items N/A N/A items Items db N/A N/A self ri N/A N/A accessmap RoleInstances db N/A N/A self geoIp N/A N/A geoip GeoIPLookup N/A geoIpFiles N/A N/A getAuthRoles N/A N/A self cu authToken allowAnonymous N/A True N/A N/A Return the set of roleIds that the caller has access to.

        If any role has an "accept flag" set that the auth token does not
        satisfy, InsufficientPermission will be raised immediately.
         N/A N/A N/A self log 4 N/A authToken N/A 0 N/A authToken N/A 2 N/A N/A N/A isinstance authToken AuthToken N/A N/A authToken N/A AuthToken authToken N/A roleSet N/A N/A N/A self userAuth getAuthorizedRoles cu N/A authToken user N/A authToken password allowAnonymous allowAnonymous remoteIp N/A authToken remote_ip N/A timedOut N/A N/A N/A entClass entKey N/A authToken entitlements N/A N/A N/A N/A rolesFromEntitlement N/A N/A N/A self entitlementAuth getAuthorizedRoles cu N/A N/A self serverNameList N/A 0 N/A authToken remote_ip entClass entKey N/A N/A N/A roleSet update rolesFromEntitlement N/A N/A N/A N/A errors EntitlementTimeout N/A e N/A N/A timedOut N/A N/A e getEntitlements N/A timedOut N/A N/A N/A N/A errors EntitlementTimeout timedOut N/A N/A roleId acceptFlags N/A N/A roleSet items N/A N/A N/A N/A authToken flags None N/A N/A N/A authToken flags N/A N/A self _getFlags authToken N/A N/A N/A N/A N/A authToken flags satisfies acceptFlags N/A N/A N/A N/A log error Rejecting client %s access to role %s due to acceptFlags mismatch:  has: %s  required: %s N/A authToken remote_ip roleId N/A authToken flags acceptFlags N/A N/A errors InsufficientPermission N/A N/A set roleSet N/A _getFlags N/A N/A self authToken N/A N/A N/A flags N/A N/A deps Flavor N/A addr N/A N/A authToken getAllIps N/A N/A N/A addr N/A N/A N/A N/A N/A N/A N/A flags union N/A N/A N/A self geoIp getFlags addr N/A N/A N/A N/A N/A flags N/A batchCheck N/A N/A self authToken troveList write cu N/A False None N/A N/A  checks access permissions for a set of *existing* troves in the repository  N/A N/A N/A self log 3 N/A authToken N/A 0 N/A entitlements=%s write=%s N/A N/A authToken N/A 2 N/A int N/A bool write troveList N/A checkList N/A N/A N/A i N/A n v f N/A enumerate troveList N/A N/A h N/A N/A N/A N/A versions VersionFromString v getHost N/A N/A h N/A self serverNameList N/A N/A N/A N/A errors RepositoryMismatch N/A self serverNameList h N/A N/A N/A checkList append N/A i n v f N/A retlist N/A N/A False N/A len checkList N/A N/A N/A authToken N/A 0 N/A N/A retlist N/A N/A cu None N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A groupIds N/A N/A self getAuthRoles cu authToken N/A N/A N/A N/A errors InsufficientPermission N/A N/A retlist N/A N/A N/A len groupIds N/A N/A retlist N/A N/A resetTable cu tmpNVF N/A N/A N/A N/A self db bulkload tmpNVF checkList N/A idx name version flavor start_transaction False N/A N/A N/A N/A self db analyze tmpNVF N/A writeCheck N/A write N/A N/A writeCheck and ugi.canWrite = 1 N/A N/A N/A cu execute N/A 
        select t.idx, i.instanceId
        from tmpNVF as t
        join Items on t.name = Items.item
        join Versions on t.version = Versions.version
        join Flavors on t.flavor = Flavors.flavor
        join Instances as i on
            i.itemId = Items.itemId and
            i.versionId = Versions.versionId and
            i.flavorId = Flavors.flavorId
        join UserGroupInstancesCache as ugi on i.instanceId = ugi.instanceId
        where ugi.userGroupId in (%s)
        %s N/A N/A N/A , join N/A N/A %d x N/A x groupIds writeCheck N/A N/A i instanceId cu N/A N/A N/A retlist N/A i True N/A retlist N/A commitCheck N/A N/A self authToken nameVersionList N/A N/A N/A  checks that we can commit to a list of (name, version) tuples  N/A N/A N/A self log 3 N/A authToken N/A 0 N/A entitlements=%s N/A N/A authToken N/A 2 nameVersionList N/A checkDict N/A N/A troveList N/A N/A N/A i N/A n v N/A enumerate nameVersionList N/A N/A label N/A N/A N/A N/A v branch label N/A N/A N/A N/A label getHost N/A self serverNameList N/A N/A N/A N/A errors RepositoryMismatch N/A self serverNameList N/A N/A label getHost N/A l N/A N/A checkDict setdefault N/A N/A label asString N/A set N/A N/A N/A troveList append n N/A N/A N/A l add i N/A retlist N/A N/A False N/A len troveList N/A N/A N/A authToken N/A 0 N/A N/A retlist N/A cu N/A N/A N/A self db cursor N/A N/A N/A groupIds N/A N/A self getAuthRoles cu authToken N/A N/A N/A N/A errors InsufficientPermission N/A N/A retlist N/A N/A N/A len groupIds N/A N/A retlist N/A stmt 
        select Items.item
        from Permissions join Items using (itemId)
         N/A where N/A Permissions.canWrite=1 N/A N/A N/A where append N/A Permissions.userGroupId IN (%s) N/A N/A , join N/A N/A %d x N/A x groupIds N/A N/A len checkDict N/A N/A N/A N/A where append (
            Permissions.labelId = 0 OR
            Permissions.labelId in (select labelId from Labels where label=?)
            ) N/A stmt N/A WHERE  N/A N/A  AND  join where N/A label N/A N/A checkDict iterkeys N/A N/A N/A N/A cu execute stmt label N/A patterns N/A N/A x N/A 0 N/A x cu N/A i N/A checkDict N/A label N/A N/A pattern patterns N/A N/A N/A N/A self checkTrove pattern N/A troveList N/A i N/A N/A N/A retlist N/A i True N/A N/A retlist N/A authCheck N/A N/A self authToken admin mirror N/A False False N/A N/A N/A N/A self log 3 N/A authToken N/A 0 N/A entitlements=%s admin=%s mirror=%s N/A N/A authToken N/A 2 N/A int N/A bool admin N/A int N/A bool mirror N/A N/A N/A authToken N/A 0 N/A N/A False N/A cu N/A N/A N/A self db cursor N/A N/A N/A groupIds N/A N/A self getAuthRoles cu authToken N/A N/A N/A N/A errors InsufficientPermission N/A N/A False N/A N/A N/A len groupIds 1 N/A N/A False N/A N/A N/A cu execute N/A select canMirror, admin from UserGroups where userGroupId in (%s) N/A N/A , join N/A N/A %d x N/A x groupIds N/A hasAdmin False N/A hasMirror False N/A N/A mirrorBit adminBit N/A N/A cu fetchall N/A N/A N/A admin adminBit N/A N/A hasAdmin True N/A N/A mirror N/A mirrorBit adminBit N/A N/A hasMirror True N/A admin N/A N/A admin N/A admin hasAdmin N/A mirror N/A N/A mirror N/A mirror hasMirror N/A N/A admin mirror N/A checkPassword N/A N/A self authToken N/A N/A N/A cu N/A N/A N/A self db cursor N/A user N/A authToken N/A 0 N/A password N/A authToken N/A 1 N/A N/A N/A cu execute SELECT salt, password FROM Users WHERE userName=? user N/A rows N/A N/A cu fetchall N/A N/A N/A len rows N/A N/A False N/A N/A salt challenge N/A rows N/A 0 N/A salt N/A N/A salt decode hex N/A N/A N/A N/A self userAuth _checkPassword user salt challenge password N/A check N/A N/A self authToken write label trove remove allowAnonymous N/A False None None False True N/A N/A N/A N/A self log 3 N/A authToken N/A 0 N/A entitlements=%s write=%s label=%s trove=%s remove=%s N/A N/A authToken N/A 2 N/A int N/A bool write label trove N/A int N/A bool remove N/A N/A label N/A N/A N/A label getHost N/A self serverNameList N/A N/A N/A N/A errors RepositoryMismatch N/A self serverNameList N/A N/A label getHost N/A N/A N/A authToken N/A 0 N/A N/A False N/A cu N/A N/A N/A self db cursor N/A N/A N/A groupIds N/A N/A self getAuthRoles cu authToken allowAnonymous allowAnonymous N/A N/A N/A N/A errors InsufficientPermission N/A N/A False N/A N/A N/A len groupIds 1 N/A N/A False N/A N/A N/A N/A label N/A trove N/A remove N/A write N/A N/A True N/A stmt 
        select Items.item
        from Permissions join items using (itemId)
         N/A params N/A N/A where N/A N/A N/A len groupIds N/A N/A N/A N/A where append N/A Permissions.userGroupId IN (%s) N/A N/A , join N/A N/A %d x N/A x groupIds N/A label N/A N/A N/A N/A where append 
            (
            Permissions.labelId = 0 OR
            Permissions.labelId in
                ( select labelId from Labels where Labels.label = ? )
            )
             N/A N/A N/A params append N/A N/A label asString N/A write N/A N/A N/A N/A where append Permissions.canWrite=1 N/A remove N/A N/A N/A N/A where append Permissions.canRemove=1 N/A where N/A N/A stmt N/A WHERE  N/A N/A  AND  join where N/A N/A N/A self log 4 stmt params N/A N/A N/A cu execute stmt params N/A N/A pattern cu N/A N/A N/A N/A self checkTrove pattern trove N/A N/A True N/A False N/A checkTrove N/A N/A self pattern trove N/A N/A N/A N/A N/A items checkTrove pattern trove N/A addAcl N/A N/A self role trovePattern label write remove N/A False False N/A N/A N/A N/A self log 3 role trovePattern label write remove N/A cu N/A N/A N/A self db cursor N/A write N/A int N/A bool write N/A remove N/A int N/A bool remove N/A trovePattern N/A N/A itemId N/A N/A N/A self items getOrAddId trovePattern N/A N/A itemId 0 N/A label N/A N/A N/A N/A cu execute SELECT * FROM Labels WHERE label=? label N/A labelId N/A N/A cu fetchone N/A labelId N/A N/A labelId N/A labelId N/A 0 N/A N/A N/A N/A cu execute INSERT INTO Labels (label) VALUES(?) label N/A labelId N/A cu lastrowid N/A N/A labelId 0 N/A roleId N/A N/A self _getRoleIdByName role N/A N/A N/A N/A N/A cu execute 
            INSERT INTO Permissions
            (userGroupId, labelId, itemId, canWrite, canRemove)
            VALUES (?, ?, ?, ?, ?) N/A roleId labelId itemId write remove N/A permissionId N/A cu lastrowid N/A N/A N/A N/A sqlerrors ColumnNotUnique N/A N/A N/A N/A N/A self db rollback N/A N/A errors PermissionAlreadyExists N/A labelId: '%s', itemId: '%s' N/A labelId itemId N/A N/A N/A N/A self ri addPermissionId permissionId roleId N/A N/A N/A N/A self db commit N/A editAcl N/A N/A self role oldTroveId oldLabelId troveId labelId write canRemove N/A False False N/A N/A N/A N/A self log 3 role N/A oldTroveId oldLabelId N/A troveId labelId write canRemove N/A cu N/A N/A N/A self db cursor N/A roleId N/A N/A self _getRoleIdByName role N/A write N/A int N/A bool write N/A canRemove N/A int N/A bool canRemove N/A N/A N/A cu execute 
        select permissionId from Permissions
        where userGroupId = ? and labelId = ? and itemId = ? N/A roleId oldLabelId oldTroveId N/A ret N/A N/A cu fetchall N/A N/A ret N/A N/A N/A permissionId N/A N/A ret N/A 0 N/A 0 N/A N/A N/A N/A N/A cu execute 
            UPDATE Permissions
            SET labelId = ?, itemId = ?, canWrite = ?, canRemove = ?
            WHERE permissionId = ? N/A labelId troveId write canRemove permissionId N/A N/A N/A N/A sqlerrors ColumnNotUnique N/A N/A N/A N/A N/A self db rollback N/A N/A errors PermissionAlreadyExists N/A labelId: '%s', itemId: '%s' N/A labelId troveId N/A N/A N/A oldLabelId labelId N/A oldTroveId troveId N/A N/A N/A N/A N/A self ri updatePermissionId permissionId roleId N/A N/A N/A N/A N/A self ri updateCanWrite permissionId roleId N/A N/A N/A N/A self db commit N/A deleteAcl N/A N/A self role label item N/A N/A N/A N/A N/A self log 3 role label item N/A roleId N/A N/A self _getRoleIdByName role N/A N/A item None N/A N/A item ALL N/A N/A label None N/A N/A label ALL N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute 
        update Permissions set canWrite=0, canRemove=0
        where userGroupId = ?
          and labelId = (select labelId from Labels where label=?)
          and itemId = (select itemId from Items where item=?)
         N/A roleId label item N/A N/A N/A cu execute 
        select permissionId from Permissions
        where userGroupId = ?
          and labelId = (select labelId from Labels where label=?)
          and itemId = (select itemId from Items where item=?)
         N/A roleId label item N/A N/A permissionId N/A N/A cu fetchall N/A N/A N/A N/A N/A self ri deletePermissionId permissionId roleId N/A N/A N/A cu execute delete from Permissions where permissionId = ? permissionId N/A N/A N/A N/A self db commit N/A addUser N/A N/A self user password N/A N/A N/A N/A N/A self log 3 user N/A salt N/A N/A os urandom 4 N/A m N/A N/A digestlib md5 N/A N/A N/A m update salt N/A N/A N/A m update password N/A N/A N/A self addUserByMD5 user salt N/A N/A m hexdigest N/A roleIsAdmin N/A N/A self role 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 admin FROM UserGroups WHERE userGroup=? role N/A ret N/A N/A cu fetchall N/A N/A len ret N/A N/A N/A N/A ret N/A 0 N/A 0 N/A N/A errors RoleNotFound N/A roleCanMirror N/A N/A self role 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 canMirror FROM UserGroups WHERE userGroup=? role N/A ret N/A N/A cu fetchall N/A N/A len ret N/A N/A N/A N/A ret N/A 0 N/A 0 N/A N/A errors RoleNotFound N/A setAdmin N/A N/A self role admin N/A N/A N/A N/A N/A self log 3 role admin N/A cu N/A N/A N/A self db transaction N/A N/A N/A cu execute UPDATE userGroups SET admin=? WHERE userGroup=? N/A N/A int N/A bool admin role N/A N/A N/A N/A self db commit N/A setUserRoles N/A N/A self userName roleList N/A N/A N/A cu N/A N/A N/A self db cursor N/A userId N/A N/A N/A self userAuth getUserIdByName userName N/A N/A N/A cu execute DELETE FROM userGroupMembers WHERE userId=? userId N/A role roleList N/A N/A N/A N/A self addRoleMember role userName commit False N/A N/A N/A N/A self db commit N/A setMirror N/A N/A self role canMirror N/A N/A N/A N/A N/A self log 3 role canMirror N/A cu N/A N/A N/A self db transaction N/A N/A N/A cu execute UPDATE userGroups SET canMirror=? WHERE userGroup=? N/A N/A int N/A bool canMirror role N/A N/A N/A N/A self db commit N/A _checkValidName N/A N/A self name N/A N/A N/A letter name N/A N/A N/A letter nameCharacterSet N/A N/A N/A N/A errors InvalidName name N/A addUserByMD5 N/A N/A self user salt password N/A N/A N/A N/A N/A self log 3 user N/A N/A N/A self _checkValidName user N/A cu N/A N/A N/A self db transaction N/A N/A N/A uid N/A N/A N/A self userAuth addUserByMD5 cu user salt password N/A N/A N/A N/A N/A N/A N/A self db rollback N/A N/A N/A N/A N/A N/A self db commit N/A uid N/A deleteUserByName N/A N/A self user deleteRole N/A True N/A N/A N/A N/A self log 3 user N/A cu N/A N/A N/A self db cursor N/A deleteRole N/A N/A N/A N/A cu execute 
            select sum(c) from (
                select count(*) as c from UserGroups
                where userGroup = :user and admin + canMirror > 0
                union
                select count(*) as c from Users
                join UserGroupMembers using(userId)
                join UserGroups using(userGroupId) where userGroup = :user and userName != :user
                union
                select count(*) as c from Permissions
                join UserGroups using(userGroupId) where userGroup = :user
                union
                select count(*) as c from UserGroupTroves
                join UserGroups using(userGroupId) where userGroup = :user
            ) as counters  N/A user user N/A N/A N/A N/A N/A cu fetchone N/A 0 0 N/A N/A N/A N/A N/A N/A self deleteRole user False N/A N/A N/A N/A errors RoleNotFound N/A N/A N/A N/A N/A N/A self userAuth deleteUser cu user N/A N/A N/A N/A self db commit N/A changePassword N/A N/A self user newPassword N/A N/A N/A N/A N/A self log 3 user N/A salt N/A N/A os urandom 4 N/A m N/A N/A digestlib md5 N/A N/A N/A m update salt N/A N/A N/A m update newPassword N/A cu N/A N/A N/A self db cursor N/A N/A N/A N/A self userAuth changePassword cu user salt N/A N/A m hexdigest N/A N/A N/A N/A self db commit N/A getRoles N/A N/A self user 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 UserGroups.userGroup
                      FROM UserGroups, Users, UserGroupMembers
                      WHERE UserGroups.userGroupId = UserGroupMembers.userGroupId AND
                            UserGroupMembers.userId = Users.userId AND
                            Users.userName = ? user N/A N/A N/A row N/A 0 N/A row cu N/A getRoleList 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 userGroup FROM UserGroups N/A N/A N/A x N/A 0 N/A x cu N/A getRoleMembers N/A N/A self role 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 Users.userName FROM UserGroups
                            JOIN UserGroupMembers USING (userGroupId)
                            JOIN Users USING (userId)
                            WHERE userGroup = ?  role N/A N/A N/A x N/A 0 N/A x cu N/A _queryPermsByRole N/A N/A self role 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 Labels.label,
                             PerItems.item,
                             canWrite, canRemove
                      FROM UserGroups
                      JOIN Permissions USING (userGroupId)
                      LEFT OUTER JOIN Items AS PerItems ON
                          PerItems.itemId = Permissions.itemId
                      LEFT OUTER JOIN Labels ON
                          Permissions.labelId = Labels.labelId
                      WHERE userGroup=? role N/A cu N/A iterPermsByRole N/A N/A self role N/A N/A N/A cu N/A N/A self _queryPermsByRole role N/A row cu N/A N/A N/A row N/A getPermsByRole N/A N/A self roleName N/A N/A N/A cu N/A N/A self _queryPermsByRole roleName N/A results N/A N/A cu fetchall N/A l N/A N/A result results N/A N/A d N/A N/A key N/A label item canWrite canRemove N/A N/A N/A d N/A key N/A result N/A key N/A N/A N/A l append d N/A l N/A _getRoleIdByName N/A N/A self role 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 userGroupId FROM UserGroups WHERE userGroup=? role N/A ret N/A N/A cu fetchall N/A N/A len ret N/A N/A N/A N/A ret N/A 0 N/A 0 N/A N/A errors RoleNotFound N/A _checkDuplicates N/A N/A self cu role N/A N/A N/A N/A N/A cu execute SELECT userGroupId FROM UserGroups WHERE LOWER(UserGroup)=LOWER(?) role N/A N/A N/A len N/A N/A cu fetchall 1 N/A N/A N/A N/A N/A self db rollback N/A N/A N/A errors RoleAlreadyExists N/A role: %s role N/A addRole N/A N/A self role N/A N/A N/A N/A N/A self log 3 role N/A N/A N/A self _checkValidName role N/A cu N/A N/A N/A self db transaction N/A N/A N/A N/A N/A cu execute INSERT INTO UserGroups (userGroup) VALUES (?) role N/A ugid N/A cu lastrowid N/A N/A N/A N/A sqlerrors ColumnNotUnique N/A N/A N/A N/A N/A self db rollback N/A N/A errors RoleAlreadyExists N/A role: %s role N/A N/A N/A self _checkDuplicates cu role N/A N/A N/A N/A self db commit N/A ugid N/A renameRole N/A N/A self oldRole newRole N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A oldRole newRole N/A N/A True N/A N/A N/A N/A N/A cu execute UPDATE UserGroups SET userGroup=? WHERE userGroup=? N/A newRole oldRole N/A N/A N/A N/A sqlerrors ColumnNotUnique N/A N/A N/A N/A N/A self db rollback N/A N/A N/A errors RoleAlreadyExists N/A role: %s newRole N/A N/A N/A self _checkDuplicates cu newRole N/A N/A N/A N/A self db commit N/A True N/A updateRoleMembers N/A N/A self role members N/A N/A N/A cu N/A N/A N/A self db cursor N/A roleId N/A N/A self _getRoleIdByName role N/A N/A N/A cu execute DELETE FROM UserGroupMembers WHERE userGroupId=? roleId N/A userName members N/A N/A N/A N/A self addRoleMember role userName commit False N/A N/A N/A N/A self db commit N/A addRoleMember N/A N/A self role userName commit N/A True N/A N/A cu N/A N/A N/A self db cursor N/A roleId N/A N/A self _getRoleIdByName role N/A userId N/A N/A N/A self userAuth getUserIdByName userName N/A N/A N/A cu execute INSERT INTO UserGroupMembers (userGroupId, userId)
                        VALUES (?, ?) roleId userId N/A commit N/A N/A N/A N/A N/A self db commit N/A deleteRole N/A N/A self role commit N/A True N/A N/A N/A N/A self deleteRoleById N/A N/A self _getRoleIdByName role commit N/A deleteRoleById N/A N/A self roleId commit N/A True N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute DELETE FROM EntitlementAccessMap WHERE userGroupId=? roleId N/A N/A N/A cu execute DELETE FROM Permissions WHERE userGroupId=? roleId N/A N/A N/A cu execute DELETE FROM UserGroupMembers WHERE userGroupId=? roleId N/A N/A N/A cu execute DELETE FROM UserGroupInstancesCache WHERE userGroupId = ? roleId N/A N/A N/A cu execute DELETE FROM UserGroupTroves WHERE userGroupId = ? roleId N/A N/A N/A cu execute DELETE FROM LatestCache WHERE userGroupId = ? roleId N/A N/A N/A cu execute DELETE FROM UserGroups WHERE userGroupId=? roleId N/A commit N/A N/A N/A N/A N/A self db commit N/A getItemList 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 item FROM Items N/A N/A N/A x N/A 0 N/A x cu N/A getLabelList 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 label FROM Labels N/A N/A N/A x N/A 0 N/A x cu N/A __checkEntitlementOwner N/A N/A self cu roleIds entClass N/A N/A N/A 
        Raises an error or returns the group Id.
         N/A N/A roleIds N/A N/A N/A errors InsufficientPermission N/A N/A N/A cu execute N/A 
            SELECT entGroupId FROM EntitlementGroups
                JOIN EntitlementOwners USING (entGroupId)
                WHERE
                    ownerGroupId IN (%s)
                  AND
                    entGroup = ?
         N/A N/A , join N/A N/A str x N/A x roleIds entClass N/A entClassIdList N/A N/A x N/A 0 N/A x cu N/A entClassIdList N/A N/A N/A N/A max entClassIdList N/A min entClassIdList N/A N/A entClassIdList N/A 0 N/A N/A N/A cu execute N/A select userGroupId from UserGroups where userGroupId in (%s) and admin = 1 N/A N/A , join N/A N/A str x N/A x roleIds N/A N/A N/A len N/A N/A cu fetchall N/A N/A N/A errors InsufficientPermission N/A N/A N/A cu execute SELECT entGroupId FROM EntitlementGroups WHERE entGroup = ? entClass N/A entClassIds N/A N/A x N/A 0 N/A x cu N/A N/A N/A len entClassIds 1 N/A N/A entClassId N/A entClassIds N/A 0 N/A N/A N/A entClassIds N/A entClassId -1 N/A entClassId N/A deleteEntitlementClass N/A N/A self authToken entClass N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A N/A self authCheck authToken admin True N/A N/A N/A errors InsufficientPermission N/A N/A N/A cu execute SELECT entGroupId FROM entitlementGroups WHERE entGroup = ? entClass N/A ret N/A N/A cu fetchall N/A N/A N/A len ret N/A N/A N/A errors UnknownEntitlementClass N/A entClassId N/A N/A ret N/A 0 N/A 0 N/A N/A N/A cu execute DELETE FROM EntitlementAccessMap WHERE entGroupId=? entClassId N/A N/A N/A cu execute DELETE FROM Entitlements WHERE entGroupId=? entClassId N/A N/A N/A cu execute DELETE FROM EntitlementOwners WHERE entGroupId=? entClassId N/A N/A N/A cu execute DELETE FROM EntitlementGroups WHERE entGroupId=? entClassId N/A N/A N/A N/A self db commit N/A addEntitlementKey N/A N/A self authToken entClass entKey N/A N/A N/A cu N/A N/A N/A self db cursor N/A roleIds N/A N/A self getAuthRoles cu authToken N/A N/A N/A self log 2 N/A entClass=%s entKey=%s N/A entClass entKey N/A N/A N/A len entKey MAX_ENTITLEMENT_LENGTH N/A N/A N/A errors InvalidEntitlement N/A entClassId N/A N/A self __checkEntitlementOwner cu roleIds entClass N/A N/A entClassId -1 N/A N/A N/A errors UnknownEntitlementClass N/A N/A N/A cu execute SELECT * FROM Entitlements WHERE entGroupId = ? AND entitlement = ? N/A entClassId entKey N/A N/A len N/A N/A cu fetchall N/A N/A N/A errors EntitlementKeyAlreadyExists N/A N/A N/A cu execute INSERT INTO Entitlements (entGroupId, entitlement) VALUES (?, ?) N/A entClassId entKey N/A N/A N/A N/A self db commit N/A deleteEntitlementKey N/A N/A self authToken entClass entKey N/A N/A N/A cu N/A N/A N/A self db cursor N/A roleIds N/A N/A self getAuthRoles cu authToken N/A N/A N/A self log 2 N/A entClass=%s entKey=%s N/A entClass entKey N/A N/A N/A len entKey MAX_ENTITLEMENT_LENGTH N/A N/A N/A errors InvalidEntitlement N/A entClassId N/A N/A self __checkEntitlementOwner cu roleIds entClass N/A N/A N/A cu execute SELECT * FROM Entitlements WHERE entGroupId = ? AND entitlement = ? N/A entClassId entKey N/A N/A N/A len N/A N/A cu fetchall N/A N/A N/A errors InvalidEntitlement N/A N/A N/A cu execute DELETE FROM Entitlements WHERE entGroupId=? AND entitlement=? N/A entClassId entKey N/A N/A N/A N/A self db commit N/A addEntitlementClass N/A N/A self authToken entClass role N/A N/A N/A 
        Adds a new entitlement class to the server, and populates it with
        an initial role
         N/A cu N/A N/A N/A self db cursor N/A N/A N/A N/A self authCheck authToken admin True N/A N/A N/A errors InsufficientPermission N/A N/A N/A self log 2 N/A entClass=%s role=%s N/A entClass role N/A N/A N/A cu execute SELECT entGroupId FROM EntitlementGroups WHERE entGroup = ? entClass N/A N/A len N/A N/A cu fetchall N/A N/A N/A errors EntitlementClassAlreadyExists N/A roleId N/A N/A self _getRoleIdByName role N/A N/A N/A cu execute INSERT INTO EntitlementGroups (entGroup) VALUES (?) entClass N/A entClassId N/A cu lastrowid N/A N/A N/A cu execute INSERT INTO EntitlementAccessMap (entGroupId, userGroupId) VALUES (?, ?) entClassId roleId N/A N/A N/A N/A self db commit N/A getEntitlementClassOwner N/A N/A self authToken entClass N/A N/A N/A 
        Returns the role which owns the entitlement class
         N/A N/A N/A N/A self authCheck authToken admin True N/A N/A N/A errors InsufficientPermission N/A cu N/A N/A N/A self db cursor N/A N/A N/A cu execute 
        SELECT userGroup FROM EntitlementGroups
        JOIN EntitlementOwners USING (entGroupId)
        JOIN UserGroups ON UserGroups.userGroupId = EntitlementOwners.ownerGroupId
        WHERE entGroup = ? entClass N/A ret N/A N/A cu fetchall N/A N/A len ret N/A N/A N/A N/A ret N/A 0 N/A 0 N/A None N/A _getIds N/A N/A self cu entClass role N/A N/A N/A N/A N/A cu execute SELECT entGroupId FROM entitlementGroups WHERE entGroup = ? entClass N/A ent N/A N/A cu fetchall N/A N/A N/A len ent N/A N/A N/A errors UnknownEntitlementClass N/A N/A N/A cu execute SELECT userGroupId FROM userGroups WHERE userGroup = ? role N/A user N/A N/A cu fetchall N/A N/A N/A len user N/A N/A N/A errors RoleNotFound N/A N/A N/A N/A ent N/A 0 N/A 0 N/A N/A user N/A 0 N/A 0 N/A addEntitlementClassOwner N/A N/A self authToken role entClass N/A N/A N/A 
        Gives the role management permission for the entitlement class.
         N/A N/A N/A N/A self authCheck authToken admin True N/A N/A N/A errors InsufficientPermission N/A N/A N/A self log 2 N/A role=%s entClass=%s N/A role entClass N/A cu N/A N/A N/A self db cursor N/A N/A entClassId roleId N/A N/A self _getIds cu entClass role N/A N/A N/A cu execute INSERT INTO EntitlementOwners (entGroupId, ownerGroupId) VALUES (?, ?) N/A entClassId roleId N/A N/A N/A N/A self db commit N/A deleteEntitlementClassOwner N/A N/A self authToken role entClass N/A N/A N/A N/A N/A N/A self authCheck authToken admin True N/A N/A N/A errors InsufficientPermission N/A N/A N/A self log 2 N/A role=%s entClass=%s N/A role entClass N/A cu N/A N/A N/A self db cursor N/A N/A entClassId roleId N/A N/A self _getIds cu entClass role N/A N/A N/A cu execute DELETE FROM EntitlementOwners WHERE entGroupId=? AND ownerGroupId=? entClassId roleId N/A N/A N/A N/A self db commit N/A iterEntitlementKeys N/A N/A self authToken entClass N/A N/A N/A cu N/A N/A N/A self db cursor N/A roleIds N/A N/A self getAuthRoles cu authToken N/A entClassId N/A N/A self __checkEntitlementOwner cu roleIds entClass N/A N/A N/A cu execute SELECT entitlement FROM Entitlements WHERE entGroupId = ? entClassId N/A N/A N/A N/A cu frombinary N/A x N/A 0 N/A x cu N/A listEntitlementClasses N/A N/A self authToken N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A N/A self authCheck authToken admin True N/A N/A N/A N/A cu execute SELECT entGroup FROM EntitlementGroups N/A N/A roleIds N/A N/A self getAuthRoles cu authToken N/A N/A roleIds N/A N/A N/A N/A N/A N/A cu execute N/A SELECT entGroup FROM EntitlementOwners
                            JOIN EntitlementGroups USING (entGroupId)
                            WHERE ownerGroupId IN (%s) N/A N/A , join N/A N/A %d x N/A x roleIds N/A N/A N/A x N/A 0 N/A x cu N/A getEntitlementClassesRoles N/A N/A self authToken classList N/A N/A N/A N/A N/A N/A self authCheck authToken admin True N/A N/A N/A errors InsufficientPermission N/A cu N/A N/A N/A self db cursor N/A placeholders N/A N/A , join N/A ? N/A x classList N/A names classList N/A N/A N/A cu execute N/A SELECT entGroup, userGroup FROM EntitlementGroups
                        LEFT OUTER JOIN EntitlementAccessMap USING (entGroupId)
                        LEFT OUTER JOIN UserGroups USING (userGroupId)
                        WHERE entGroup IN (%s) N/A placeholders names N/A d N/A N/A N/A entClass role cu N/A N/A l N/A N/A d setdefault entClass N/A N/A N/A role None N/A N/A N/A N/A l append role N/A N/A N/A len d N/A len classList N/A N/A N/A errors RoleNotFound N/A d N/A setEntitlementClassesRoles N/A N/A self authToken classInfo N/A N/A N/A 
        @param classInfo: Dictionary indexed by entitlement class, each
        entry being a list of exactly the roles that entitlement group
        should have access to.
        @type classInfo: dict
         N/A N/A N/A N/A self authCheck authToken admin True N/A N/A N/A errors InsufficientPermission N/A cu N/A N/A N/A self db cursor N/A placeholders N/A N/A , join N/A ? N/A x classInfo N/A names N/A N/A classInfo keys N/A N/A N/A cu execute N/A SELECT entGroup, entGroupId FROM EntitlementGroups
                      WHERE entGroup IN (%s) N/A placeholders names N/A entClassMap N/A dict cu N/A N/A N/A len entClassMap N/A len classInfo N/A N/A N/A errors RoleNotFound N/A rolesNeeded N/A list N/A set N/A N/A itertools chain N/A N/A classInfo itervalues N/A rolesNeeded N/A N/A placeholders N/A N/A , join N/A ? N/A x rolesNeeded N/A N/A N/A cu execute N/A SELECT userGroup, userGroupId FROM UserGroups
                              WHERE userGroup IN (%s) N/A placeholders rolesNeeded N/A roleMap N/A dict cu N/A N/A roleMap N/A N/A N/A N/A len roleMap N/A len rolesNeeded N/A N/A N/A errors RoleNotFound N/A entClassIds N/A N/A , join N/A N/A %d x N/A x N/A N/A entClassMap itervalues N/A N/A N/A cu execute N/A DELETE FROM EntitlementAccessMap
                      WHERE entGroupId IN (%s) N/A entClassIds N/A N/A entClass roles N/A N/A classInfo iteritems N/A N/A role roles N/A N/A N/A N/A cu execute INSERT INTO EntitlementAccessMap
                              (entGroupId, userGroupId) VALUES (?, ?) N/A entClassMap N/A entClass N/A roleMap N/A role N/A N/A N/A N/A self db commit N/A getRoleFilters N/A N/A self roles N/A N/A N/A cu N/A N/A N/A self db cursor N/A placeholders N/A N/A , join N/A ? N/A x roles N/A query N/A SELECT userGroup, accept_flags, filter_flags
                FROM UserGroups WHERE userGroup in (%s) placeholders N/A N/A N/A cu execute query N/A list roles N/A N/A dict N/A N/A N/A x N/A 0 N/A N/A N/A deps ThawFlavor N/A x N/A 1 N/A N/A deps ThawFlavor N/A x N/A 2 N/A x cu N/A setRoleFilters N/A N/A self roleFiltersMap N/A N/A N/A cu N/A N/A N/A self db cursor N/A N/A role flags N/A N/A roleFiltersMap iteritems N/A N/A args N/A N/A flag flags N/A N/A N/A flag None N/A N/A flag N/A N/A flag freeze N/A N/A flag N/A N/A flag None N/A N/A N/A args append flag N/A N/A N/A args append role N/A N/A N/A cu execute UPDATE UserGroups SET accept_flags = ?,
                    filter_flags = ? WHERE userGroup = ? args N/A N/A N/A N/A self db commit N/A N/A PasswordCheckParser N/A dict N/A StartElementHandler N/A N/A self name attrs N/A N/A N/A N/A name N/A auth N/A N/A SyntaxError N/A val N/A N/A attrs get valid None N/A N/A self valid N/A N/A val 1 N/A N/A N/A N/A str val lower true N/A EndElementHandler N/A N/A self name N/A N/A N/A N/A CharacterDataHandler N/A N/A self data N/A N/A N/A N/A N/A data strip N/A N/A N/A self valid False N/A parse N/A N/A self s N/A N/A N/A N/A N/A N/A self p Parse s N/A validPassword N/A N/A self N/A N/A N/A N/A self valid N/A __init__ N/A N/A self N/A N/A N/A N/A self p N/A N/A N/A N/A xml parsers expat ParserCreate N/A N/A N/A self p StartElementHandler N/A self StartElementHandler N/A N/A N/A self p EndElementHandler N/A self EndElementHandler N/A N/A N/A self p CharacterDataHandler N/A self CharacterDataHandler N/A N/A self valid False N/A N/A N/A dict __init__ self N/A N/A