Module Expr Str ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias identifier alias alias alias ImportFrom alias alias alias alias identifier ImportFrom alias alias alias identifier alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias alias ImportFrom alias alias alias alias alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults BinOpAdd BoolOpOr NameLoad Num Num orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BoolOpOr NameLoad ListLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Dict orelse Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore BoolOpOr BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr Str Str Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad orelse If CompareIsNot AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse If BoolOpAnd CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareIsNot AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr TupleLoad Str NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body If Call NameLoad SubscriptLoad NameLoad Index Num BinOpAdd AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad orelse If CompareIsNot NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr Str orelse Assign AttributeStore NameLoad attr NameLoad If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr Assert Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad NameLoad attr body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareNotIn NameLoad AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list 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 If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body If BoolOpOr UnaryOpNot NameLoad UnaryOpNot AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Return If CompareIsNot NameLoad NameLoad body Assert CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Return Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad keyword NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If Call NameLoad NameLoad AttributeLoad NameLoad attr body If Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad keyword NameLoad orelse If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Dict NameLoad TupleLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad Str body Delete AttributeDel NameLoad attr If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr GeneratorExp NameLoad comprehension NameStore NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpAdd AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad orelse If BoolOpOr CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Num body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr orelse If BoolOpAnd CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore AttributeLoad NameLoad attr keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr keyword NameLoad If CompareEq Call NameLoad NameLoad Num body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore AttributeLoad NameLoad attr BoolOpAnd CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr BoolOpOr UnaryOpNot Call NameLoad NameLoad Str CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If BoolOpAnd CompareNotIn NameLoad AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Continue Assign NameStore BinOpAdd BoolOpOr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad body Continue For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr orelse If Call NameLoad AttributeLoad NameLoad attr NameLoad body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr orelse If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIs Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore NameLoad orelse For NameStore Call AttributeLoad NameLoad attr body If CompareIsNot AttributeLoad NameLoad attr NameLoad body If CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Return If NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd CompareIn NameLoad NameLoad CompareNotIn SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str TupleLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad ListLoad NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad orelse If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num If BoolOpAnd CompareIs NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareIsNot NameLoad NameLoad body For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Break Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If BoolOpAnd Call NameLoad NameLoad Str BoolOpOr UnaryOpNot Call NameLoad NameLoad Str CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If BoolOpAnd Call NameLoad NameLoad Str CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareNotIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr BoolOpOr CompareIs NameLoad AttributeLoad NameLoad attr CompareIs SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad For NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd CompareIn NameLoad AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str NameLoad body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad If BoolOpAnd CompareIn NameLoad AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr UnaryOpNot Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body If BoolOpAnd BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareNotIn TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr CompareIsNot NameLoad AttributeLoad NameLoad attr body Assign NameStore CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Raise Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad orelse If BoolOpOr CompareIs NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad orelse Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr Str BoolOpOr BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr BoolOpOr BoolOpAnd AttributeLoad NameLoad attr Str Str Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad BinOpAdd TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad BinOpAdd TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad BoolOpOr BoolOpAnd AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot NameLoad body Return NameLoad If AttributeLoad NameLoad attr body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call NameLoad Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse If NameLoad body Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareIn NameLoad NameLoad orelse Assign NameStore ListLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareIn AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIs NameLoad NameLoad body Continue If AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str orelse If UnaryOpNot AttributeLoad NameLoad attr body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Return ListLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Return NameLoad orelse Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list NameLoad Assign NameStore NameLoad Expr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad AttributeLoad AttributeLoad NameLoad attr attr comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad GeneratorExp TupleLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad comprehension NameStore NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num orelse If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return TupleLoad NameLoad NameLoad orelse Return TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad orelse For NameStore Call AttributeLoad NameLoad attr Call NameLoad ListComp Call NameLoad AttributeLoad NameLoad attr comprehension NameStore BinOpAdd ListLoad NameLoad NameLoad body If BoolOpAnd Call NameLoad NameLoad Str NameLoad BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr body Continue Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Return TupleLoad Call AttributeLoad NameLoad attr ListComp CompareEq NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr decorator_list For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Dict Str NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If NameLoad body If BoolOpAnd CompareIsNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad body Return NameLoad orelse If BoolOpAnd CompareIsNot Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad body Return NameLoad If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr BoolOpOr CompareIs NameLoad NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad BoolOpOr CompareIn NameLoad AttributeLoad NameLoad attr BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr CompareIsNot AttributeLoad NameLoad attr NameLoad NameLoad body Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad orelse Return CompareIs Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad While BoolOpAnd NameLoad CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad While NameLoad body Expr Yield NameLoad Assign NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad ListLoad NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore ListComp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore NameLoad For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore ListComp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore NameLoad Return TupleLoad AttributeLoad NameLoad attr Call NameLoad GeneratorExp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return TupleLoad AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr Call NameLoad ListComp Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr attr attr NameLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Return ListComp Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return ListComp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad keyword NameLoad comprehension NameStore NameLoad comprehension NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr If CompareIn AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return If CompareNotIn AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareNotIn AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore ListLoad TryExcept body Assign NameStore NameLoad For NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr body If CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad orelse If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Dict Str NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Call NameLoad Assign NameStore Call NameLoad ListLoad TupleLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr While NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad NameLoad Index Num If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Continue If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotIn NameLoad AttributeLoad NameLoad attr body Continue Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Dict For NameStore AttributeLoad AttributeLoad NameLoad attr attr body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr ListComp TupleLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BoolOpAnd CompareNotIn AttributeLoad NameLoad attr NameLoad CompareNotIn AttributeLoad NameLoad attr NameLoad orelse Return CompareNotIn AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameStore Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr TryFinally body Global identifier If NameLoad body Return Assign NameStore NameLoad TryFinally body If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr For NameStore Call NameLoad NameLoad body If Call NameLoad NameLoad Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Raise NameLoad If UnaryOpNot AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Raise Assign AttributeStore NameLoad attr NameLoad finalbody Assign NameStore NameLoad finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Str Str NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body If AttributeLoad NameLoad attr body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If NameLoad body If AttributeLoad NameLoad attr body Expr Call NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Logic to map Python classes to and from selectables.

Defines the :class:`~sqlalchemy.orm.mapper.Mapper` class, the central
configurational unit which associates a class with a database table.

This is a semi-private module; the main configurational API of the ORM is
available in :class:`~sqlalchemy.orm.`.

 __future__ absolute_import N/A types N/A weakref itertools chain collections deque N/A sql util log exc sa_exc event schema inspection sql expression visitors operators util sql_util N/A instrumentation attributes exc orm_exc loading N/A properties N/A util orm_util interfaces MapperProperty InspectionAttr _MappedAttribute base _class_to_mapper _state_mapper class_mapper state_str _INSTRUMENTOR path_registry PathRegistry N/A sys N/A _mapper_registry N/A N/A weakref WeakKeyDictionary N/A _already_compiling False N/A _memoized_configured_property N/A N/A util group_expirable_memoized_property N/A NO_ATTRIBUTE N/A N/A util symbol NO_ATTRIBUTE N/A _CONFIGURE_MUTEX N/A N/A N/A util threading RLock Mapper N/A InspectionAttr N/A N/A Define the correlation of class attributes to database table
    columns.

    The :class:`.Mapper` object is instantiated using the
    :func:`~sqlalchemy.orm.mapper` function.    For information
    about instantiating new :class:`.Mapper` objects, see
    that function's documentation.


    When :func:`.mapper` is used
    explicitly to link a user defined class with table
    metadata, this is referred to as *classical mapping*.
    Modern SQLAlchemy usage tends to favor the
    :mod:`sqlalchemy.ext.declarative` extension for class
    configuration, which
    makes usage of :func:`.mapper` behind the scenes.

    Given a particular class known to be mapped by the ORM,
    the :class:`.Mapper` which maintains it can be acquired
    using the :func:`.inspect` function::

        from sqlalchemy import inspect

        mapper = inspect(MyClass)

    A class which was mapped by the :mod:`sqlalchemy.ext.declarative`
    extension will also have its mapper available via the ``__mapper__``
    attribute.


     N/A _new_mappers False __init__ N/A N/A self class_ local_table properties primary_key non_primary inherits inherit_condition inherit_foreign_keys extension order_by always_refresh version_id_col version_id_generator polymorphic_on _polymorphic_map polymorphic_identity concrete with_polymorphic allow_partial_pks batch column_prefix include_properties exclude_properties passive_updates passive_deletes confirm_deleted_rows eager_defaults legacy_is_orphan _compiled_cache_size N/A None None None False None None None None False False None None None None None False None True True None None None True False True False False 100 N/A N/A Return a new :class:`~.Mapper` object.

        This function is typically used behind the scenes
        via the Declarative extension.   When using Declarative,
        many of the usual :func:`.mapper` arguments are handled
        by the Declarative extension itself, including ``class_``,
        ``local_table``, ``properties``, and  ``inherits``.
        Other options are passed to :func:`.mapper` using
        the ``__mapper_args__`` class variable::

           class MyClass(Base):
               __tablename__ = 'my_table'
               id = Column(Integer, primary_key=True)
               type = Column(String(50))
               alt = Column("some_alt", Integer)

               __mapper_args__ = {
                   'polymorphic_on' : type
               }


        Explicit use of :func:`.mapper`
        is often referred to as *classical mapping*.  The above
        declarative example is equivalent in classical form to::

            my_table = Table("my_table", metadata,
                Column('id', Integer, primary_key=True),
                Column('type', String(50)),
                Column("some_alt", Integer)
            )

            class MyClass(object):
                pass

            mapper(MyClass, my_table,
                polymorphic_on=my_table.c.type,
                properties={
                    'alt':my_table.c.some_alt
                })

        .. seealso::

            :ref:`classical_mapping` - discussion of direct usage of
            :func:`.mapper`

        :param class\_: The class to be mapped.  When using Declarative,
          this argument is automatically passed as the declared class
          itself.

        :param local_table: The :class:`.Table` or other selectable
           to which the class is mapped.  May be ``None`` if
           this mapper inherits from another mapper using single-table
           inheritance.   When using Declarative, this argument is
           automatically passed by the extension, based on what
           is configured via the ``__table__`` argument or via the
           :class:`.Table` produced as a result of the ``__tablename__``
           and :class:`.Column` arguments present.

        :param always_refresh: If True, all query operations for this mapped
           class will overwrite all data within object instances that already
           exist within the session, erasing any in-memory changes with
           whatever information was loaded from the database. Usage of this
           flag is highly discouraged; as an alternative, see the method
           :meth:`.Query.populate_existing`.

        :param allow_partial_pks: Defaults to True.  Indicates that a
           composite primary key with some NULL values should be considered as
           possibly existing within the database. This affects whether a
           mapper will assign an incoming row to an existing identity, as well
           as if :meth:`.Session.merge` will check the database first for a
           particular primary key value. A "partial primary key" can occur if
           one has mapped to an OUTER JOIN, for example.

        :param batch: Defaults to ``True``, indicating that save operations
           of multiple entities can be batched together for efficiency.
           Setting to False indicates
           that an instance will be fully saved before saving the next
           instance.  This is used in the extremely rare case that a
           :class:`.MapperEvents` listener requires being called
           in between individual row persistence operations.

        :param column_prefix: A string which will be prepended
           to the mapped attribute name when :class:`.Column`
           objects are automatically assigned as attributes to the
           mapped class.  Does not affect explicitly specified
           column-based properties.

           See the section :ref:`column_prefix` for an example.

        :param concrete: If True, indicates this mapper should use concrete
           table inheritance with its parent mapper.

           See the section :ref:`concrete_inheritance` for an example.

        :param confirm_deleted_rows: defaults to True; when a DELETE occurs
          of one more rows based on specific primary keys, a warning is
          emitted when the number of rows matched does not equal the number
          of rows expected.  This parameter may be set to False to handle the
          case where database ON DELETE CASCADE rules may be deleting some of
          those rows automatically.  The warning may be changed to an
          exception in a future release.

          .. versionadded:: 0.9.4 - added
             :paramref:`.mapper.confirm_deleted_rows` as well as conditional
             matched row checking on delete.

        :param eager_defaults: if True, the ORM will immediately fetch the
          value of server-generated default values after an INSERT or UPDATE,
          rather than leaving them as expired to be fetched on next access.
          This can be used for event schemes where the server-generated values
          are needed immediately before the flush completes.   By default,
          this scheme will emit an individual ``SELECT`` statement per row
          inserted or updated, which note can add significant performance
          overhead.  However, if the
          target database supports :term:`RETURNING`, the default values will
          be returned inline with the INSERT or UPDATE statement, which can
          greatly enhance performance for an application that needs frequent
          access to just-generated server defaults.

          .. versionchanged:: 0.9.0 The ``eager_defaults`` option can now
             make use of :term:`RETURNING` for backends which support it.

        :param exclude_properties: A list or set of string column names to
          be excluded from mapping.

          See :ref:`include_exclude_cols` for an example.

        :param extension: A :class:`.MapperExtension` instance or
           list of :class:`.MapperExtension` instances which will be applied
           to all operations by this :class:`.Mapper`.  **Deprecated.**
           Please see :class:`.MapperEvents`.

        :param include_properties: An inclusive list or set of string column
          names to map.

          See :ref:`include_exclude_cols` for an example.

        :param inherits: A mapped class or the corresponding :class:`.Mapper`
          of one indicating a superclass to which this :class:`.Mapper`
          should *inherit* from.   The mapped class here must be a subclass
          of the other mapper's class.   When using Declarative, this argument
          is passed automatically as a result of the natural class
          hierarchy of the declared classes.

          .. seealso::

            :ref:`inheritance_toplevel`

        :param inherit_condition: For joined table inheritance, a SQL
           expression which will
           define how the two tables are joined; defaults to a natural join
           between the two tables.

        :param inherit_foreign_keys: When ``inherit_condition`` is used and
           the columns present are missing a :class:`.ForeignKey`
           configuration, this parameter can be used to specify which columns
           are "foreign".  In most cases can be left as ``None``.

        :param legacy_is_orphan: Boolean, defaults to ``False``.
          When ``True``, specifies that "legacy" orphan consideration
          is to be applied to objects mapped by this mapper, which means
          that a pending (that is, not persistent) object is auto-expunged
          from an owning :class:`.Session` only when it is de-associated
          from *all* parents that specify a ``delete-orphan`` cascade towards
          this mapper.  The new default behavior is that the object is
          auto-expunged when it is de-associated with *any* of its parents
          that specify ``delete-orphan`` cascade.  This behavior is more
          consistent with that of a persistent object, and allows behavior to
          be consistent in more scenarios independently of whether or not an
          orphanable object has been flushed yet or not.

          See the change note and example at :ref:`legacy_is_orphan_addition`
          for more detail on this change.

          .. versionadded:: 0.8 - the consideration of a pending object as
            an "orphan" has been modified to more closely match the
            behavior as that of persistent objects, which is that the object
            is expunged from the :class:`.Session` as soon as it is
            de-associated from any of its orphan-enabled parents.  Previously,
            the pending object would be expunged only if de-associated
            from all of its orphan-enabled parents. The new flag
            ``legacy_is_orphan`` is added to :func:`.orm.mapper` which
            re-establishes the legacy behavior.

        :param non_primary: Specify that this :class:`.Mapper` is in addition
          to the "primary" mapper, that is, the one used for persistence.
          The :class:`.Mapper` created here may be used for ad-hoc
          mapping of the class to an alternate selectable, for loading
          only.

          :paramref:`.Mapper.non_primary` is not an often used option, but
          is useful in some specific :func:`.relationship` cases.

          .. seealso::

              :ref:`relationship_non_primary_mapper`

        :param order_by: A single :class:`.Column` or list of :class:`.Column`
           objects for which selection operations should use as the default
           ordering for entities.  By default mappers have no pre-defined
           ordering.

           .. deprecated:: 1.1 The :paramref:`.Mapper.order_by` parameter
              is deprecated.   Use :meth:`.Query.order_by` to determine the
              ordering of a result set.

        :param passive_deletes: Indicates DELETE behavior of foreign key
           columns when a joined-table inheritance entity is being deleted.
           Defaults to ``False`` for a base mapper; for an inheriting mapper,
           defaults to ``False`` unless the value is set to ``True``
           on the superclass mapper.

           When ``True``, it is assumed that ON DELETE CASCADE is configured
           on the foreign key relationships that link this mapper's table
           to its superclass table, so that when the unit of work attempts
           to delete the entity, it need only emit a DELETE statement for the
           superclass table, and not this table.

           When ``False``, a DELETE statement is emitted for this mapper's
           table individually.  If the primary key attributes local to this
           table are unloaded, then a SELECT must be emitted in order to
           validate these attributes; note that the primary key columns
           of a joined-table subclass are not part of the "primary key" of
           the object as a whole.

           Note that a value of ``True`` is **always** forced onto the
           subclass mappers; that is, it's not possible for a superclass
           to specify passive_deletes without this taking effect for
           all subclass mappers.

           .. versionadded:: 1.1

           .. seealso::

               :ref:`passive_deletes` - description of similar feature as
               used with :func:`.relationship`

               :paramref:`.mapper.passive_updates` - supporting ON UPDATE
               CASCADE for joined-table inheritance mappers

        :param passive_updates: Indicates UPDATE behavior of foreign key
           columns when a primary key column changes on a joined-table
           inheritance mapping.   Defaults to ``True``.

           When True, it is assumed that ON UPDATE CASCADE is configured on
           the foreign key in the database, and that the database will handle
           propagation of an UPDATE from a source column to dependent columns
           on joined-table rows.

           When False, it is assumed that the database does not enforce
           referential integrity and will not be issuing its own CASCADE
           operation for an update.  The unit of work process will
           emit an UPDATE statement for the dependent columns during a
           primary key change.

           .. seealso::

               :ref:`passive_updates` - description of a similar feature as
               used with :func:`.relationship`

               :paramref:`.mapper.passive_deletes` - supporting ON DELETE
               CASCADE for joined-table inheritance mappers

        :param polymorphic_on: Specifies the column, attribute, or
          SQL expression used to determine the target class for an
          incoming row, when inheriting classes are present.

          This value is commonly a :class:`.Column` object that's
          present in the mapped :class:`.Table`::

            class Employee(Base):
                __tablename__ = 'employee'

                id = Column(Integer, primary_key=True)
                discriminator = Column(String(50))

                __mapper_args__ = {
                    "polymorphic_on":discriminator,
                    "polymorphic_identity":"employee"
                }

          It may also be specified
          as a SQL expression, as in this example where we
          use the :func:`.case` construct to provide a conditional
          approach::

            class Employee(Base):
                __tablename__ = 'employee'

                id = Column(Integer, primary_key=True)
                discriminator = Column(String(50))

                __mapper_args__ = {
                    "polymorphic_on":case([
                        (discriminator == "EN", "engineer"),
                        (discriminator == "MA", "manager"),
                    ], else_="employee"),
                    "polymorphic_identity":"employee"
                }

          It may also refer to any attribute
          configured with :func:`.column_property`, or to the
          string name of one::

                class Employee(Base):
                    __tablename__ = 'employee'

                    id = Column(Integer, primary_key=True)
                    discriminator = Column(String(50))
                    employee_type = column_property(
                        case([
                            (discriminator == "EN", "engineer"),
                            (discriminator == "MA", "manager"),
                        ], else_="employee")
                    )

                    __mapper_args__ = {
                        "polymorphic_on":employee_type,
                        "polymorphic_identity":"employee"
                    }

          .. versionchanged:: 0.7.4
              ``polymorphic_on`` may be specified as a SQL expression,
              or refer to any attribute configured with
              :func:`.column_property`, or to the string name of one.

          When setting ``polymorphic_on`` to reference an
          attribute or expression that's not present in the
          locally mapped :class:`.Table`, yet the value
          of the discriminator should be persisted to the database,
          the value of the
          discriminator is not automatically set on new
          instances; this must be handled by the user,
          either through manual means or via event listeners.
          A typical approach to establishing such a listener
          looks like::

                from sqlalchemy import event
                from sqlalchemy.orm import object_mapper

                @event.listens_for(Employee, "init", propagate=True)
                def set_identity(instance, *arg, **kw):
                    mapper = object_mapper(instance)
                    instance.discriminator = mapper.polymorphic_identity

          Where above, we assign the value of ``polymorphic_identity``
          for the mapped class to the ``discriminator`` attribute,
          thus persisting the value to the ``discriminator`` column
          in the database.

          .. warning::

             Currently, **only one discriminator column may be set**, typically
             on the base-most class in the hierarchy. "Cascading" polymorphic
             columns are not yet supported.

          .. seealso::

            :ref:`inheritance_toplevel`

        :param polymorphic_identity: Specifies the value which
          identifies this particular class as returned by the
          column expression referred to by the ``polymorphic_on``
          setting.  As rows are received, the value corresponding
          to the ``polymorphic_on`` column expression is compared
          to this value, indicating which subclass should
          be used for the newly reconstructed object.

        :param properties: A dictionary mapping the string names of object
           attributes to :class:`.MapperProperty` instances, which define the
           persistence behavior of that attribute.  Note that :class:`.Column`
           objects present in
           the mapped :class:`.Table` are automatically placed into
           ``ColumnProperty`` instances upon mapping, unless overridden.
           When using Declarative, this argument is passed automatically,
           based on all those :class:`.MapperProperty` instances declared
           in the declared class body.

        :param primary_key: A list of :class:`.Column` objects which define
           the primary key to be used against this mapper's selectable unit.
           This is normally simply the primary key of the ``local_table``, but
           can be overridden here.

        :param version_id_col: A :class:`.Column`
           that will be used to keep a running version id of rows
           in the table.  This is used to detect concurrent updates or
           the presence of stale data in a flush.  The methodology is to
           detect if an UPDATE statement does not match the last known
           version id, a
           :class:`~sqlalchemy.orm.exc.StaleDataError` exception is
           thrown.
           By default, the column must be of :class:`.Integer` type,
           unless ``version_id_generator`` specifies an alternative version
           generator.

           .. seealso::

              :ref:`mapper_version_counter` - discussion of version counting
              and rationale.

        :param version_id_generator: Define how new version ids should
          be generated.  Defaults to ``None``, which indicates that
          a simple integer counting scheme be employed.  To provide a custom
          versioning scheme, provide a callable function of the form::

              def generate_version(version):
                  return next_version

          Alternatively, server-side versioning functions such as triggers,
          or programmatic versioning schemes outside of the version id
          generator may be used, by specifying the value ``False``.
          Please see :ref:`server_side_version_counter` for a discussion
          of important points when using this option.

          .. versionadded:: 0.9.0 ``version_id_generator`` supports
             server-side version number generation.

          .. seealso::

             :ref:`custom_version_counter`

             :ref:`server_side_version_counter`


        :param with_polymorphic: A tuple in the form ``(<classes>,
            <selectable>)`` indicating the default style of "polymorphic"
            loading, that is, which tables are queried at once. <classes> is
            any single or list of mappers and/or classes indicating the
            inherited classes that should be loaded at once. The special value
            ``'*'`` may be used to indicate all descending classes should be
            loaded immediately. The second tuple argument <selectable>
            indicates a selectable that will be used to query for multiple
            classes.

            .. seealso::

              :ref:`with_polymorphic` - discussion of polymorphic querying
              techniques.

         N/A N/A self class_ N/A N/A util assert_arg_type class_ type class_ N/A N/A self class_manager None N/A N/A self _primary_key_argument N/A N/A util to_list primary_key N/A N/A self non_primary non_primary N/A N/A order_by False N/A N/A N/A self order_by N/A N/A util to_list order_by N/A N/A N/A util warn_deprecated Mapper.order_by is deprecated.Use Query.order_by() in order to affect the ordering of ORM result sets. N/A N/A N/A self order_by order_by N/A N/A self always_refresh always_refresh N/A N/A isinstance version_id_col MapperProperty N/A N/A N/A self version_id_prop version_id_col N/A N/A self version_id_col None N/A N/A N/A self version_id_col version_id_col N/A N/A version_id_generator False N/A N/A N/A self version_id_generator False N/A N/A N/A version_id_generator None N/A N/A N/A self version_id_generator N/A N/A N/A x N/A N/A N/A x 0 1 N/A N/A N/A self version_id_generator version_id_generator N/A N/A self concrete concrete N/A N/A self single False N/A N/A self inherits inherits N/A N/A self local_table local_table N/A N/A self inherit_condition inherit_condition N/A N/A self inherit_foreign_keys inherit_foreign_keys N/A N/A self _init_properties N/A properties N/A N/A N/A self _delete_orphans N/A N/A N/A self batch batch N/A N/A self eager_defaults eager_defaults N/A N/A self column_prefix column_prefix N/A N/A self polymorphic_on N/A N/A expression _clause_element_as_expr polymorphic_on N/A N/A self _dependency_processors N/A N/A N/A self validators N/A N/A util immutabledict N/A N/A self passive_updates passive_updates N/A N/A self passive_deletes passive_deletes N/A N/A self legacy_is_orphan legacy_is_orphan N/A N/A self _clause_adapter None N/A N/A self _requires_row_aliasing False N/A N/A self _inherits_equated_pairs None N/A N/A self _memoized_values N/A N/A N/A self _compiled_cache_size _compiled_cache_size N/A N/A self _reconstructor None N/A N/A self _deprecated_extensions N/A N/A util to_list N/A extension N/A N/A N/A self allow_partial_pks allow_partial_pks N/A N/A N/A self inherits N/A N/A self concrete N/A N/A N/A self confirm_deleted_rows False N/A N/A N/A self confirm_deleted_rows confirm_deleted_rows N/A N/A N/A self _set_with_polymorphic with_polymorphic N/A N/A isinstance N/A self local_table N/A expression SelectBase N/A N/A N/A N/A sa_exc InvalidRequestError When mapping against a select() construct, map against an alias() of the construct instead.This because several databases don't allow a SELECT from a subquery that does not have an alias. N/A N/A N/A self with_polymorphic N/A isinstance N/A N/A self with_polymorphic N/A 1 N/A expression SelectBase N/A N/A N/A self with_polymorphic N/A N/A N/A self with_polymorphic N/A 0 N/A N/A N/A N/A self with_polymorphic N/A 1 alias N/A N/A self polymorphic_identity polymorphic_identity N/A N/A _polymorphic_map None N/A N/A N/A self polymorphic_map N/A N/A N/A N/A self polymorphic_map _polymorphic_map N/A N/A include_properties None N/A N/A N/A self include_properties N/A N/A util to_set include_properties N/A N/A N/A self include_properties None N/A exclude_properties N/A N/A N/A self exclude_properties N/A N/A util to_set exclude_properties N/A N/A N/A self exclude_properties None N/A N/A self configured False N/A N/A N/A _CONFIGURE_MUTEX acquire N/A N/A N/A N/A N/A N/A N/A self dispatch _events _new_mapper_instance class_ self N/A N/A N/A self _configure_inheritance N/A N/A N/A self _configure_legacy_instrument_class N/A N/A N/A self _configure_class_instrumentation N/A N/A N/A self _configure_listeners N/A N/A N/A self _configure_properties N/A N/A N/A self _configure_polymorphic_setter N/A N/A N/A self _configure_pks N/A N/A Mapper _new_mappers True N/A N/A N/A self _log constructed N/A N/A N/A self _expire_memoizations N/A N/A N/A N/A _CONFIGURE_MUTEX release N/A N/A is_mapper True N/A Part of the inspection API. mapper N/A N/A self N/A N/A N/A Part of the inspection API.

        Returns self.

         N/A self N/A property entity N/A N/A self N/A N/A N/A Part of the inspection API.

        Returns self.class\_.

         N/A N/A self class_ N/A property N/A local_table None N/A The :class:`.Selectable` which this :class:`.Mapper` manages.

    Typically is an instance of :class:`.Table` or :class:`.Alias`.
    May also be ``None``.

    The "local" table is the
    selectable that the :class:`.Mapper` is directly responsible for
    managing from an attribute access and flush perspective.   For
    non-inheriting mappers, the local table is the same as the
    "mapped" table.   For joined-table inheritance mappers, local_table
    will be the particular sub-table of the overall "join" which
    this :class:`.Mapper` represents.  If this mapper is a
    single-table inheriting mapper, local_table will be ``None``.

    .. seealso::

        :attr:`~.Mapper.mapped_table`.

     N/A mapped_table None N/A The :class:`.Selectable` to which this :class:`.Mapper` is mapped.

    Typically an instance of :class:`.Table`, :class:`.Join`, or
    :class:`.Alias`.

    The "mapped" table is the selectable that
    the mapper selects from during queries.   For non-inheriting
    mappers, the mapped table is the same as the "local" table.
    For joined-table inheritance mappers, mapped_table references the
    full :class:`.Join` representing full rows for this particular
    subclass.  For single-table inheritance mappers, mapped_table
    references the base table.

    .. seealso::

        :attr:`~.Mapper.local_table`.

     N/A inherits None N/A References the :class:`.Mapper` which this :class:`.Mapper`
    inherits from, if any.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A configured None N/A Represent ``True`` if this :class:`.Mapper` has been configured.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

    .. seealso::

        :func:`.configure_mappers`.

     N/A concrete None N/A Represent ``True`` if this :class:`.Mapper` is a concrete
    inheritance mapper.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A tables None N/A An iterable containing the collection of :class:`.Table` objects
    which this :class:`.Mapper` is aware of.

    If the mapper is mapped to a :class:`.Join`, or an :class:`.Alias`
    representing a :class:`.Select`, the individual :class:`.Table`
    objects that comprise the full construct will be represented here.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A primary_key None N/A An iterable containing the collection of :class:`.Column` objects
    which comprise the 'primary key' of the mapped table, from the
    perspective of this :class:`.Mapper`.

    This list is against the selectable in :attr:`~.Mapper.mapped_table`. In
    the case of inheriting mappers, some columns may be managed by a
    superclass mapper.  For example, in the case of a :class:`.Join`, the
    primary key is determined by all of the primary key columns across all
    tables referenced by the :class:`.Join`.

    The list is also not necessarily the same as the primary key column
    collection associated with the underlying tables; the :class:`.Mapper`
    features a ``primary_key`` argument that can override what the
    :class:`.Mapper` considers as primary key columns.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A class_ None N/A The Python class which this :class:`.Mapper` maps.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A class_manager None N/A The :class:`.ClassManager` which maintains event listeners
    and class-bound descriptors for this :class:`.Mapper`.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A single None N/A Represent ``True`` if this :class:`.Mapper` is a single table
    inheritance mapper.

    :attr:`~.Mapper.local_table` will be ``None`` if this flag is set.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A non_primary None N/A Represent ``True`` if this :class:`.Mapper` is a "non-primary"
    mapper, e.g. a mapper that is used only to selet rows but not for
    persistence management.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A polymorphic_on None N/A The :class:`.Column` or SQL expression specified as the
    ``polymorphic_on`` argument
    for this :class:`.Mapper`, within an inheritance scenario.

    This attribute is normally a :class:`.Column` instance but
    may also be an expression, such as one derived from
    :func:`.cast`.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A polymorphic_map None N/A A mapping of "polymorphic identity" identifiers mapped to
    :class:`.Mapper` instances, within an inheritance scenario.

    The identifiers can be of any type which is comparable to the
    type of column represented by :attr:`~.Mapper.polymorphic_on`.

    An inheritance chain of mappers will all reference the same
    polymorphic map object.  The object is used to correlate incoming
    result rows to target mappers.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A polymorphic_identity None N/A Represent an identifier which is matched against the
    :attr:`~.Mapper.polymorphic_on` column during result row loading.

    Used only with inheritance, this object can be of any type which is
    comparable to the type of column represented by
    :attr:`~.Mapper.polymorphic_on`.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A base_mapper None N/A The base-most :class:`.Mapper` in an inheritance chain.

    In a non-inheriting scenario, this attribute will always be this
    :class:`.Mapper`.   In an inheritance scenario, it references
    the :class:`.Mapper` which is parent to all other :class:`.Mapper`
    objects in the inheritance chain.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A columns None N/A A collection of :class:`.Column` or other scalar expression
    objects maintained by this :class:`.Mapper`.

    The collection behaves the same as that of the ``c`` attribute on
    any :class:`.Table` object, except that only those columns included in
    this mapping are present, and are keyed based on the attribute name
    defined in the mapping, not necessarily the ``key`` attribute of the
    :class:`.Column` itself.   Additionally, scalar expressions mapped
    by :func:`.column_property` are also present here.

    This is a *read only* attribute determined during mapper construction.
    Behavior is undefined if directly modified.

     N/A validators None N/A An immutable dictionary of attributes which have been decorated
    using the :func:`~.orm.validates` decorator.

    The dictionary contains string attribute names as keys
    mapped to the actual validation method.

     N/A c None N/A A synonym for :attr:`~.Mapper.columns`. _path_registry N/A N/A self N/A N/A N/A N/A N/A PathRegistry per_mapper self N/A N/A util memoized_property _configure_inheritance N/A N/A self N/A N/A N/A Configure settings related to inherting and/or inherited mappers
        being present. N/A N/A self _inheriting_mappers N/A N/A util WeakSequence N/A N/A self inherits N/A N/A N/A isinstance N/A self inherits type N/A N/A N/A self inherits N/A class_mapper N/A self inherits configure False N/A N/A N/A issubclass N/A self class_ N/A N/A self inherits class_ N/A N/A N/A N/A sa_exc ArgumentError N/A Class '%s' does not inherit from '%s' N/A N/A N/A self class_ __name__ N/A N/A N/A self inherits class_ __name__ N/A N/A N/A self non_primary N/A N/A self inherits non_primary N/A N/A np N/A N/A N/A N/A self non_primary primary non-primary N/A N/A N/A sa_exc ArgumentError N/A Inheritance of %s mapper for class '%s' is only allowed from a %s mapper N/A np N/A N/A self class_ __name__ np N/A N/A N/A self local_table None N/A N/A N/A self local_table N/A N/A self inherits local_table N/A N/A self mapped_table N/A N/A self inherits mapped_table N/A N/A self single True N/A N/A N/A N/A self local_table N/A N/A self inherits local_table N/A N/A N/A self concrete N/A N/A N/A self mapped_table N/A self local_table N/A mapper N/A N/A self iterate_to_root N/A N/A N/A N/A mapper polymorphic_on None N/A N/A N/A mapper _requires_row_aliasing True N/A N/A N/A N/A self inherit_condition None N/A N/A N/A self inherit_condition N/A N/A sql_util join_condition N/A N/A self inherits local_table N/A self local_table N/A N/A self mapped_table N/A N/A sql join N/A N/A self inherits mapped_table N/A self local_table N/A self inherit_condition N/A fks N/A N/A util to_set N/A self inherit_foreign_keys N/A N/A self _inherits_equated_pairs N/A N/A sql_util criterion_as_pairs N/A N/A self mapped_table onclause consider_as_foreign_keys fks N/A N/A N/A self mapped_table N/A self local_table N/A N/A N/A N/A self polymorphic_identity None N/A N/A self concrete N/A N/A N/A self _identity_class N/A N/A self inherits _identity_class N/A N/A N/A self _identity_class N/A self class_ N/A N/A N/A self version_id_col None N/A N/A N/A self version_id_col N/A N/A self inherits version_id_col N/A N/A self version_id_generator N/A N/A self inherits version_id_generator N/A N/A N/A N/A N/A N/A self inherits version_id_col None N/A N/A self version_id_col N/A N/A self inherits version_id_col N/A N/A N/A N/A util warn N/A Inheriting version_id_col '%s' does not match inherited version_id_col '%s' and will not automatically populate the inherited versioning column. version_id_col should only be specified on the base-most mapper that includes versioning. N/A N/A N/A self version_id_col description N/A N/A N/A self inherits version_id_col description N/A N/A N/A N/A self order_by False N/A N/A self concrete N/A N/A N/A self inherits order_by False N/A N/A N/A self order_by N/A N/A self inherits order_by N/A N/A self polymorphic_map N/A N/A self inherits polymorphic_map N/A N/A self batch N/A N/A self inherits batch N/A N/A N/A N/A N/A self inherits _inheriting_mappers append self N/A N/A self base_mapper N/A N/A self inherits base_mapper N/A N/A self passive_updates N/A N/A self inherits passive_updates N/A N/A self passive_deletes N/A N/A N/A self inherits passive_deletes N/A self passive_deletes N/A N/A self _all_tables N/A N/A self inherits _all_tables N/A N/A N/A self polymorphic_identity None N/A N/A N/A N/A self polymorphic_identity N/A self polymorphic_map N/A N/A N/A N/A util warn N/A Reassigning polymorphic association for identity %r from %r to %r: Check for duplicate use of %r as value for polymorphic_identity. N/A N/A self polymorphic_identity N/A N/A self polymorphic_map N/A N/A self polymorphic_identity self N/A self polymorphic_identity N/A N/A N/A self polymorphic_map N/A N/A self polymorphic_identity self N/A N/A N/A self _all_tables N/A set N/A N/A self base_mapper self N/A N/A self mapped_table N/A self local_table N/A N/A N/A self polymorphic_identity None N/A N/A N/A N/A self polymorphic_map N/A N/A self polymorphic_identity self N/A N/A self _identity_class N/A self class_ N/A N/A N/A self mapped_table None N/A N/A N/A N/A sa_exc ArgumentError N/A Mapper '%s' does not have a mapped_table specified. self N/A _set_with_polymorphic N/A N/A self with_polymorphic N/A N/A N/A N/A with_polymorphic * N/A N/A N/A self with_polymorphic N/A * None N/A N/A N/A isinstance with_polymorphic N/A tuple list N/A N/A N/A isinstance N/A with_polymorphic N/A 0 N/A N/A util string_types N/A tuple list N/A N/A N/A self with_polymorphic with_polymorphic N/A N/A N/A self with_polymorphic N/A with_polymorphic None N/A N/A N/A with_polymorphic None N/A N/A N/A N/A sa_exc ArgumentError Invalid setting for with_polymorphic N/A N/A N/A self with_polymorphic None N/A N/A isinstance N/A self local_table N/A expression SelectBase N/A N/A N/A N/A sa_exc InvalidRequestError When mapping against a select() construct, map against an alias() of the construct instead.This because several databases don't allow a SELECT from a subquery that does not have an alias. N/A N/A N/A self with_polymorphic N/A isinstance N/A N/A self with_polymorphic N/A 1 N/A expression SelectBase N/A N/A N/A self with_polymorphic N/A N/A N/A self with_polymorphic N/A 0 N/A N/A N/A N/A self with_polymorphic N/A 1 alias N/A N/A self configured N/A N/A N/A N/A self _expire_memoizations N/A _set_concrete_base N/A N/A self mapper N/A N/A N/A Set the given :class:`.Mapper` as the 'inherits' for this
        :class:`.Mapper`, assuming this :class:`.Mapper` is concrete
        and does not already have an inherits. N/A N/A self concrete N/A N/A N/A self inherits N/A N/A isinstance mapper Mapper N/A N/A self inherits mapper N/A N/A N/A N/A N/A self inherits polymorphic_map update N/A self polymorphic_map N/A N/A self polymorphic_map N/A N/A self inherits polymorphic_map N/A mapper N/A N/A self iterate_to_root N/A N/A N/A N/A mapper polymorphic_on None N/A N/A N/A mapper _requires_row_aliasing True N/A N/A self batch N/A N/A self inherits batch N/A mp N/A self self_and_descendants N/A N/A N/A mp base_mapper N/A N/A self inherits base_mapper N/A N/A N/A N/A N/A self inherits _inheriting_mappers append self N/A N/A self passive_updates N/A N/A self inherits passive_updates N/A N/A self _all_tables N/A N/A self inherits _all_tables N/A N/A key prop N/A N/A N/A mapper _props items N/A N/A N/A N/A key N/A self _props N/A N/A N/A self _should_exclude key key local False column None N/A N/A N/A N/A self _adapt_inherited_property key prop False N/A _set_polymorphic_on N/A N/A self polymorphic_on N/A N/A N/A N/A self polymorphic_on polymorphic_on N/A N/A N/A self _configure_polymorphic_setter True N/A _configure_legacy_instrument_class N/A N/A self N/A N/A N/A N/A self inherits N/A N/A N/A N/A N/A self dispatch _update N/A N/A self inherits dispatch N/A super_extensions N/A set N/A chain N/A N/A m _deprecated_extensions N/A m N/A N/A N/A self inherits iterate_to_root N/A N/A super_extensions N/A set N/A ext N/A self _deprecated_extensions N/A N/A N/A ext super_extensions N/A N/A N/A N/A ext _adapt_instrument_class self ext N/A _configure_listeners N/A N/A self N/A N/A N/A N/A self inherits N/A N/A super_extensions N/A set N/A chain N/A N/A m _deprecated_extensions N/A m N/A N/A N/A self inherits iterate_to_root N/A N/A super_extensions N/A set N/A ext N/A self _deprecated_extensions N/A N/A N/A ext super_extensions N/A N/A N/A N/A ext _adapt_listener self ext N/A _configure_class_instrumentation N/A N/A self N/A N/A N/A If this mapper is to be a primary mapper (i.e. the
        non_primary flag is not set), associate this Mapper with the
        given class_ and entity name.

        Subsequent calls to ``class_mapper()`` for the class_/entity
        name combination will return this mapper.  Also decorate the
        `__init__` method on the mapped class to include optional
        auto-session attachment logic.

         N/A manager N/A N/A attributes manager_of_class N/A self class_ N/A N/A self non_primary N/A N/A N/A N/A manager N/A N/A manager is_mapped N/A N/A N/A N/A sa_exc InvalidRequestError N/A Class %s has no primary mapper configured.  Configure a primary mapper first before setting up a non primary Mapper. N/A self class_ N/A N/A self class_manager manager N/A N/A self _identity_class N/A N/A manager mapper _identity_class N/A N/A _mapper_registry N/A self True N/A N/A N/A manager None N/A N/A N/A N/A manager class_ N/A self class_ N/A N/A manager is_mapped N/A N/A N/A N/A sa_exc ArgumentError N/A Class '%s' already has a primary mapper defined. Use non_primary=True to create a non primary Mapper.  clear_mappers() will remove *all* current mappers from all classes. N/A self class_ N/A N/A _mapper_registry N/A self True N/A N/A N/A N/A self dispatch instrument_class self N/A self class_ N/A N/A manager None N/A N/A manager N/A N/A instrumentation register_class N/A self class_ N/A N/A self class_manager manager N/A N/A manager mapper self N/A N/A manager deferred_scalar_loader N/A N/A util partial N/A loading load_scalar_attributes self N/A N/A N/A N/A manager info get _INSTRUMENTOR False N/A N/A N/A N/A N/A event listen manager first_init _event_on_first_init raw True N/A N/A N/A event listen manager init _event_on_init raw True N/A N/A key method N/A N/A util iterate_attributes N/A self class_ N/A N/A N/A isinstance method N/A types FunctionType N/A N/A N/A hasattr method __sa_reconstructor__ N/A N/A N/A self _reconstructor method N/A N/A N/A event listen manager load _event_on_load raw True N/A N/A N/A hasattr method __sa_validators__ N/A N/A validation_opts N/A method __sa_validation_opts__ N/A name N/A method __sa_validators__ N/A N/A N/A self validators N/A N/A N/A self validators union N/A name N/A method validation_opts N/A N/A N/A manager info N/A _INSTRUMENTOR self N/A _configure_all N/A N/A cls N/A N/A N/A Class-level path to the :func:`.configure_mappers` call.
         N/A N/A configure_mappers N/A classmethod dispose N/A N/A self N/A N/A N/A N/A self configured True N/A N/A hasattr self _configure_failed N/A N/A N/A self _configure_failed N/A N/A N/A N/A self non_primary N/A N/A self class_manager None N/A N/A self class_manager is_mapped N/A N/A N/A self class_manager mapper self N/A N/A N/A N/A instrumentation unregister_class N/A self class_ N/A _configure_pks N/A N/A self N/A N/A N/A N/A self tables N/A N/A sql_util find_tables N/A self mapped_table N/A N/A self _pks_by_table N/A N/A N/A self _cols_by_table N/A N/A all_cols N/A N/A util column_set N/A chain N/A N/A col proxy_set N/A col N/A self _columntoproperty N/A pk_cols N/A N/A util column_set N/A c N/A c all_cols N/A c primary_key N/A tables N/A set N/A N/A self tables N/A N/A self mapped_table N/A N/A N/A N/A self _all_tables update tables N/A t tables N/A N/A N/A N/A t primary_key N/A N/A pk_cols issuperset N/A t primary_key N/A N/A N/A N/A self _pks_by_table N/A t N/A N/A N/A N/A util ordered_column_set N/A t primary_key intersection pk_cols N/A N/A N/A self _cols_by_table N/A t N/A N/A N/A N/A util ordered_column_set N/A t c intersection all_cols N/A N/A self _primary_key_argument N/A N/A k N/A self _primary_key_argument N/A N/A N/A N/A k table N/A self _pks_by_table N/A N/A N/A N/A self _pks_by_table N/A N/A k table N/A N/A util OrderedSet N/A N/A N/A N/A N/A self _pks_by_table N/A N/A k table add k N/A N/A N/A N/A N/A self mapped_table N/A self _pks_by_table N/A N/A len N/A N/A self _pks_by_table N/A N/A self mapped_table 0 N/A N/A N/A N/A sa_exc ArgumentError N/A Mapper %s could not assemble any primary key columns for mapped table '%s' N/A self N/A N/A self mapped_table description N/A N/A N/A N/A N/A self local_table N/A self _pks_by_table N/A isinstance N/A self local_table N/A schema Table N/A N/A N/A N/A util warn N/A Could not assemble any primary keys for locally mapped table '%s' - no rows will be persisted in this Table. N/A N/A self local_table description N/A N/A N/A self inherits N/A N/A self concrete N/A N/A self _primary_key_argument N/A N/A N/A self primary_key N/A N/A self inherits primary_key N/A N/A N/A self _primary_key_argument N/A N/A primary_key N/A N/A sql_util reduce_columns N/A N/A N/A N/A self mapped_table corresponding_column c N/A c N/A self _primary_key_argument ignore_nonexistent_tables True N/A N/A primary_key N/A N/A sql_util reduce_columns N/A N/A self _pks_by_table N/A N/A self mapped_table ignore_nonexistent_tables True N/A N/A N/A len primary_key 0 N/A N/A N/A N/A sa_exc ArgumentError N/A Mapper %s could not assemble any primary key columns for mapped table '%s' N/A self N/A N/A self mapped_table description N/A N/A self primary_key N/A tuple primary_key N/A N/A N/A self _log Identified primary key columns: %s primary_key N/A N/A self _readonly_props N/A set N/A N/A N/A self _columntoproperty N/A col N/A col N/A self _columntoproperty N/A N/A N/A N/A self _columntoproperty N/A col N/A self _identity_key_props N/A N/A N/A hasattr col table N/A N/A col table N/A self _cols_by_table N/A _configure_properties N/A N/A self N/A N/A N/A N/A self columns N/A self c N/A N/A util OrderedProperties N/A N/A self _props N/A N/A util OrderedDict N/A N/A self _columntoproperty N/A _ColumnMapping self N/A N/A self _init_properties N/A N/A N/A key prop N/A N/A N/A self _init_properties items N/A N/A N/A N/A self _configure_property key prop False N/A N/A self inherits N/A N/A N/A key prop N/A N/A N/A N/A self inherits _props items N/A N/A N/A N/A key N/A self _props N/A N/A N/A self _should_exclude key key local False column None N/A N/A N/A N/A self _adapt_inherited_property key prop False N/A column N/A N/A self mapped_table columns N/A N/A N/A column N/A self _columntoproperty N/A N/A N/A column_key N/A N/A N/A self column_prefix N/A column key N/A N/A N/A self _should_exclude N/A column key column_key local N/A N/A N/A N/A self local_table c contains_column column column column N/A N/A N/A mapper N/A N/A self iterate_to_root N/A N/A N/A column N/A mapper _columntoproperty N/A N/A column_key N/A N/A N/A mapper _columntoproperty N/A column key N/A N/A N/A self _configure_property column_key column init False setparent True N/A _configure_polymorphic_setter N/A N/A self init N/A False N/A N/A Configure an attribute on the mapper representing the
        'polymorphic_on' column, if applicable, and not
        already generated by _configure_properties (which is typical).

        Also create a setter function which will assign this
        attribute to the value of the 'polymorphic_identity'
        upon instance construction, also if applicable.  This
        routine will run when an instance is created.

         N/A setter False N/A N/A N/A self polymorphic_on None N/A N/A setter True N/A N/A isinstance N/A self polymorphic_on N/A util string_types N/A N/A N/A N/A N/A self polymorphic_on N/A N/A self _props N/A N/A self polymorphic_on N/A N/A N/A KeyError N/A N/A N/A N/A sa_exc ArgumentError N/A Can't determine polymorphic_on value '%s' - no attribute is mapped to this name. N/A self polymorphic_on N/A N/A N/A self polymorphic_on N/A self _columntoproperty N/A N/A prop N/A N/A self _columntoproperty N/A N/A self polymorphic_on N/A polymorphic_key N/A prop key N/A N/A self polymorphic_on N/A N/A prop columns N/A 0 N/A polymorphic_key N/A prop key N/A N/A N/A isinstance N/A self polymorphic_on MapperProperty N/A N/A N/A N/A isinstance N/A self polymorphic_on N/A properties ColumnProperty N/A N/A N/A N/A sa_exc ArgumentError Only direct column-mapped property or SQL expression can be passed for polymorphic_on N/A prop N/A self polymorphic_on N/A N/A self polymorphic_on N/A N/A prop columns N/A 0 N/A polymorphic_key N/A prop key N/A N/A N/A N/A N/A expression _is_column N/A self polymorphic_on N/A N/A N/A N/A sa_exc ArgumentError Only direct column-mapped property or SQL expression can be passed for polymorphic_on N/A N/A col N/A N/A N/A self mapped_table corresponding_column N/A self polymorphic_on N/A N/A col None N/A N/A setter False N/A instrument False N/A col N/A self polymorphic_on N/A N/A N/A isinstance col N/A schema Column N/A N/A N/A self with_polymorphic None N/A N/A N/A N/A N/A self with_polymorphic N/A 1 corresponding_column col None N/A N/A N/A N/A sa_exc InvalidRequestError N/A Could not map polymorphic_on column '%s' to the mapped table - polymorphic loads will not function properly N/A col description N/A N/A instrument True N/A key N/A getattr col key None N/A key N/A N/A N/A N/A self _should_exclude N/A col key N/A col key False col N/A N/A N/A N/A sa_exc InvalidRequestError N/A Cannot exclude or override the discriminator column %r N/A col key N/A N/A N/A self polymorphic_on col N/A N/A col label _sa_polymorphic_on N/A key N/A col key N/A N/A N/A self _configure_property key N/A N/A properties ColumnProperty col _instrument instrument init init setparent True N/A polymorphic_key key N/A N/A mapper N/A N/A self iterate_to_root N/A N/A N/A N/A mapper polymorphic_on None N/A N/A N/A N/A self mapped_table N/A mapper mapped_table N/A N/A N/A self polymorphic_on N/A mapper polymorphic_on N/A N/A N/A self polymorphic_on N/A N/A N/A self mapped_table corresponding_column N/A mapper polymorphic_on N/A N/A N/A self polymorphic_on None N/A N/A N/A self _set_polymorphic_identity N/A mapper _set_polymorphic_identity N/A N/A self _validate_polymorphic_identity N/A mapper _validate_polymorphic_identity N/A N/A N/A self _set_polymorphic_identity None N/A N/A setter N/A _set_polymorphic_identity N/A N/A state N/A N/A N/A dict_ N/A state dict N/A N/A N/A N/A N/A state get_impl polymorphic_key set state dict_ N/A N/A N/A state manager mapper polymorphic_identity None N/A _validate_polymorphic_identity N/A N/A mapper state dict_ N/A N/A N/A N/A N/A polymorphic_key dict_ N/A N/A dict_ N/A polymorphic_key N/A mapper _acceptable_polymorphic_identities N/A N/A N/A N/A util warn_limited Flushing object %s with incompatible polymorphic identity %r; the object may not refresh and/or load correctly N/A N/A state_str state N/A dict_ N/A polymorphic_key N/A N/A N/A self _set_polymorphic_identity _set_polymorphic_identity N/A N/A self _validate_polymorphic_identity _validate_polymorphic_identity N/A N/A N/A self _set_polymorphic_identity None N/A N/A _validate_polymorphic_identity None _version_id_prop N/A N/A self N/A N/A N/A N/A N/A self version_id_col None N/A N/A N/A N/A self _columntoproperty N/A N/A self version_id_col N/A N/A None N/A _memoized_configured_property _acceptable_polymorphic_identities N/A N/A self N/A N/A N/A identities N/A set N/A stack N/A deque N/A self N/A stack N/A N/A item N/A N/A stack popleft N/A N/A N/A item mapped_table N/A self mapped_table N/A N/A N/A N/A identities add N/A item polymorphic_identity N/A N/A N/A stack extend N/A item _inheriting_mappers N/A identities N/A _memoized_configured_property _prop_set N/A N/A self N/A N/A N/A N/A frozenset N/A N/A N/A self _props values N/A _memoized_configured_property _adapt_inherited_property N/A N/A self key prop init N/A N/A N/A N/A N/A self concrete N/A N/A N/A N/A self _configure_property key prop init False setparent False N/A N/A N/A key N/A self _props N/A N/A N/A N/A self _configure_property key N/A N/A properties ConcreteInheritedProperty init init setparent True N/A _configure_property N/A N/A self key prop init setparent N/A True True N/A N/A N/A N/A self _log _configure_property(%s, %s) key N/A N/A prop __class__ __name__ N/A N/A N/A isinstance prop MapperProperty N/A N/A prop N/A N/A self _property_from_column key prop N/A N/A isinstance prop N/A properties ColumnProperty N/A N/A col N/A N/A N/A self mapped_table corresponding_column N/A N/A prop columns N/A 0 N/A N/A N/A col None N/A self inherits N/A N/A path N/A self N/A m N/A N/A N/A self inherits iterate_to_root N/A N/A col N/A N/A N/A m local_table corresponding_column N/A N/A prop columns N/A 0 N/A N/A col None N/A N/A m2 path N/A N/A N/A N/A N/A m2 mapped_table _reset_exported N/A col N/A N/A N/A self mapped_table corresponding_column N/A N/A prop columns N/A 0 N/A N/A N/A N/A path append m N/A N/A col None N/A N/A col N/A N/A prop columns N/A 0 N/A N/A N/A hasattr self _readonly_props N/A N/A N/A hasattr col table N/A N/A col table N/A self _cols_by_table N/A N/A N/A N/A N/A self _readonly_props add prop N/A N/A N/A N/A hasattr self _cols_by_table N/A N/A col table N/A self _cols_by_table N/A col N/A N/A self _cols_by_table N/A N/A col table N/A N/A N/A N/A N/A N/A self _cols_by_table N/A N/A col table add col N/A N/A N/A hasattr prop _is_polymorphic_discriminator N/A N/A N/A prop _is_polymorphic_discriminator N/A N/A col N/A self polymorphic_on N/A N/A N/A prop columns N/A 0 N/A self polymorphic_on N/A N/A N/A self columns N/A key col N/A col N/A N/A prop columns N/A prop _orig_columns N/A N/A col N/A col proxy_set N/A N/A N/A N/A self _columntoproperty N/A col prop N/A N/A prop key key N/A setparent N/A N/A N/A N/A prop set_parent self init N/A N/A N/A key N/A self _props N/A getattr N/A N/A self _props N/A key _mapped_by_synonym False N/A N/A syn N/A N/A N/A self _props N/A key _mapped_by_synonym N/A N/A N/A sa_exc ArgumentError N/A Can't call map_column=True for synonym %r=%r, a ColumnProperty already exists keyed to the name %r for column %r N/A syn key key syn N/A N/A N/A key N/A self _props N/A N/A isinstance prop N/A properties ColumnProperty N/A N/A isinstance N/A N/A self _props N/A key N/A N/A properties ColumnProperty N/A properties ConcreteInheritedProperty N/A N/A N/A N/A util warn N/A Property %s on %s being replaced with new property %s; the old property will be discarded N/A N/A N/A self _props N/A key self prop N/A oldprop N/A N/A self _props N/A key N/A N/A N/A N/A self _path_registry pop oldprop None N/A N/A N/A self _props N/A key prop N/A N/A N/A self non_primary N/A N/A N/A N/A prop instrument_class self N/A mapper N/A self _inheriting_mappers N/A N/A N/A N/A mapper _adapt_inherited_property key prop init N/A init N/A N/A N/A N/A prop init N/A N/A N/A prop post_instrument_class self N/A N/A self configured N/A N/A N/A N/A self _expire_memoizations N/A _property_from_column N/A N/A self key prop N/A N/A N/A generate/update a :class:`.ColumnProprerty` given a
        :class:`.Column` object.  N/A columns N/A N/A util to_list prop N/A column N/A columns N/A 0 N/A N/A N/A N/A expression _is_column column N/A N/A N/A N/A sa_exc ArgumentError N/A %s=%r is not an instance of MapperProperty or Column N/A key prop N/A prop N/A N/A N/A self _props get key None N/A N/A isinstance prop N/A properties ColumnProperty N/A N/A N/A N/A N/A N/A self _inherits_equated_pairs N/A N/A N/A N/A prop columns N/A 0 column N/A self _inherits_equated_pairs N/A N/A N/A N/A N/A prop columns N/A 0 shares_lineage column N/A N/A N/A prop columns N/A 0 N/A self version_id_col N/A column N/A self version_id_col N/A N/A warn_only N/A N/A prop parent self N/A msg N/A Implicitly combining column %s with column %s under attribute '%s'.  Please configure one or more attributes for these same-named columns explicitly. N/A N/A N/A prop columns N/A -1 column key N/A warn_only N/A N/A N/A N/A util warn msg N/A N/A N/A N/A sa_exc InvalidRequestError msg N/A prop N/A N/A prop copy N/A N/A N/A N/A prop columns insert 0 column N/A N/A N/A self _log N/A inserting column to existing list in properties.ColumnProperty %s key N/A prop N/A N/A N/A N/A prop None N/A isinstance prop N/A properties ConcreteInheritedProperty N/A N/A mapped_column N/A N/A c columns N/A N/A mc N/A N/A N/A self mapped_table corresponding_column c N/A N/A mc None N/A N/A mc N/A N/A N/A self local_table corresponding_column c N/A N/A mc None N/A N/A N/A N/A N/A self mapped_table _reset_exported N/A mc N/A N/A N/A self mapped_table corresponding_column c N/A N/A mc None N/A N/A N/A N/A sa_exc ArgumentError N/A When configuring property '%s' on %s, column '%s' is not represented in the mapper's table. Use the `column_property()` function to force this column to be mapped as a read-only attribute. N/A key self c N/A N/A N/A mapped_column append mc N/A N/A N/A properties ColumnProperty mapped_column N/A N/A N/A N/A sa_exc ArgumentError N/A WARNING: when configuring property '%s' on %s, column '%s' conflicts with property '%r'. To resolve this, map the column to the class under a different name in the 'properties' dictionary.  Or, to remove all awareness of the column entirely (including its availability as a foreign key), use the 'include_properties' or 'exclude_properties' mapper arguments to control specifically which table columns get mapped. N/A key self N/A column key prop N/A _post_configure_properties N/A N/A self N/A N/A N/A Call the ``init()`` method on all ``MapperProperties``
        attached to this mapper.

        This is a deferred configuration step which is intended
        to execute once all mappers have been constructed.

         N/A N/A N/A self _log _post_configure_properties() started N/A l N/A N/A key prop N/A N/A key prop N/A N/A N/A self _props items N/A N/A key prop l N/A N/A N/A N/A self _log initialize prop %s key N/A N/A N/A N/A prop parent self N/A N/A prop _configure_started N/A N/A N/A N/A prop init N/A N/A prop _configure_finished N/A N/A N/A N/A prop post_instrument_class self N/A N/A N/A self _log _post_configure_properties() complete N/A N/A self configured True N/A add_properties N/A N/A self dict_of_properties N/A N/A N/A Add the given dictionary of properties to this mapper,
        using `add_property`.

         N/A N/A key value N/A N/A dict_of_properties items N/A N/A N/A N/A self add_property key value N/A add_property N/A N/A self key prop N/A N/A N/A Add an individual MapperProperty to this mapper.

        If the mapper has not been configured yet, just adds the
        property to the initial properties dictionary sent to the
        constructor.  If this Mapper has already been configured, then
        the given MapperProperty is configured immediately.

         N/A N/A N/A self _init_properties N/A key prop N/A N/A N/A self _configure_property key prop init N/A self configured N/A _expire_memoizations N/A N/A self N/A N/A N/A mapper N/A N/A self iterate_to_root N/A N/A N/A N/A _memoized_configured_property expire_instance mapper N/A _log_desc N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A ( N/A N/A self class_ __name__ | N/A N/A N/A N/A self local_table None N/A N/A self local_table description N/A str N/A self local_table N/A N/A N/A self non_primary |non-primary ) N/A property _log N/A N/A self msg N/A args N/A N/A N/A N/A N/A self logger info N/A %s  msg N/A N/A N/A self _log_desc args N/A _log_debug N/A N/A self msg N/A args N/A N/A N/A N/A N/A self logger debug N/A %s  msg N/A N/A N/A self _log_desc args N/A __repr__ N/A N/A self N/A N/A N/A N/A <Mapper at 0x%x; %s> N/A N/A id self N/A N/A self class_ __name__ N/A __str__ N/A N/A self N/A N/A N/A N/A Mapper|%s|%s%s N/A N/A N/A self class_ __name__ N/A N/A N/A N/A self local_table None N/A N/A self local_table description None N/A N/A N/A self non_primary |non-primary N/A _is_orphan N/A N/A self state N/A N/A N/A orphan_possible False N/A mapper N/A N/A self iterate_to_root N/A N/A N/A key cls N/A mapper _delete_orphans N/A N/A orphan_possible True N/A has_parent N/A N/A N/A N/A attributes manager_of_class cls has_parent state key optimistic N/A state has_identity N/A N/A N/A self legacy_is_orphan has_parent N/A N/A False N/A N/A N/A N/A N/A self legacy_is_orphan N/A has_parent N/A N/A True N/A N/A self legacy_is_orphan N/A N/A orphan_possible N/A N/A False N/A has_property N/A N/A self key N/A N/A N/A N/A key N/A self _props N/A get_property N/A N/A self key _configure_mappers N/A True N/A N/A return a MapperProperty associated with the given key.
         N/A N/A _configure_mappers N/A Mapper _new_mappers N/A N/A N/A configure_mappers N/A N/A N/A N/A N/A self _props N/A key N/A N/A N/A KeyError N/A N/A N/A N/A sa_exc InvalidRequestError N/A Mapper '%s' has no property '%s' N/A self key N/A get_property_by_column N/A N/A self column N/A N/A N/A Given a :class:`.Column` object, return the
        :class:`.MapperProperty` which maps this column. N/A N/A N/A self _columntoproperty N/A column N/A iterate_properties N/A N/A self N/A N/A N/A return an iterator of all MapperProperty objects. N/A N/A Mapper _new_mappers N/A N/A N/A configure_mappers N/A N/A iter N/A N/A N/A self _props values N/A property _mappers_from_spec N/A N/A self spec selectable N/A N/A N/A given a with_polymorphic() argument, return the set of mappers it
        represents.

        Trims the list of mappers to just those represented within the given
        selectable, if present. This helps some more legacy-ish mappings.

         N/A N/A spec * N/A N/A mappers N/A list N/A self self_and_descendants N/A N/A spec N/A N/A mappers N/A set N/A m N/A N/A util to_list spec N/A N/A m N/A _class_to_mapper m N/A N/A N/A N/A m isa self N/A N/A N/A N/A sa_exc InvalidRequestError N/A %r does not inherit from %r N/A m self N/A N/A selectable None N/A N/A N/A N/A mappers update N/A N/A m iterate_to_root N/A N/A N/A N/A mappers add m N/A mappers N/A m N/A m N/A self self_and_descendants N/A m mappers N/A N/A mappers N/A N/A N/A selectable None N/A N/A tables N/A set N/A N/A sql_util find_tables selectable include_aliases True N/A mappers N/A m N/A m mappers N/A N/A m local_table tables N/A mappers N/A _selectable_from_mappers N/A N/A self mappers innerjoin N/A N/A N/A given a list of mappers (assumed to be within this mapper's
        inheritance hierarchy), construct an outerjoin amongst those mapper's
        mapped tables.

         N/A from_obj N/A self mapped_table N/A m mappers N/A N/A N/A m self N/A N/A N/A N/A m concrete N/A N/A N/A N/A sa_exc InvalidRequestError 'with_polymorphic()' requires 'selectable' argument when concrete-inheriting mappers are used. N/A N/A N/A N/A m single N/A N/A innerjoin N/A N/A from_obj N/A N/A from_obj join N/A m local_table N/A m inherit_condition N/A N/A from_obj N/A N/A from_obj outerjoin N/A m local_table N/A m inherit_condition N/A from_obj N/A _single_table_criterion N/A N/A self N/A N/A N/A N/A N/A self single N/A self inherits N/A N/A self polymorphic_on None N/A N/A N/A N/A N/A self polymorphic_on in_ N/A N/A m polymorphic_identity N/A m N/A self self_and_descendants N/A N/A None N/A _memoized_configured_property _with_polymorphic_mappers N/A N/A self N/A N/A N/A N/A Mapper _new_mappers N/A N/A N/A configure_mappers N/A N/A N/A self with_polymorphic N/A N/A N/A N/A N/A N/A self _mappers_from_spec N/A self with_polymorphic N/A _memoized_configured_property _with_polymorphic_selectable N/A N/A self N/A N/A N/A N/A N/A self with_polymorphic N/A N/A N/A self mapped_table N/A N/A spec selectable N/A self with_polymorphic N/A N/A selectable None N/A N/A selectable N/A N/A N/A N/A self _selectable_from_mappers N/A N/A self _mappers_from_spec spec selectable False N/A _memoized_configured_property N/A with_polymorphic_mappers _with_polymorphic_mappers N/A The list of :class:`.Mapper` objects included in the
    default "polymorphic" query.

     _insert_cols_evaluating_none N/A N/A self N/A N/A N/A N/A dict N/A N/A table N/A frozenset N/A N/A col key N/A col columns N/A N/A col type should_evaluate_none N/A N/A table columns N/A N/A N/A self _cols_by_table items N/A _memoized_configured_property _insert_cols_as_none N/A N/A self N/A N/A N/A N/A dict N/A N/A table N/A frozenset N/A N/A col key N/A col columns N/A N/A N/A col primary_key N/A N/A col server_default N/A N/A col default N/A N/A N/A col type should_evaluate_none N/A N/A table columns N/A N/A N/A self _cols_by_table items N/A _memoized_configured_property _propkey_to_col N/A N/A self N/A N/A N/A N/A dict N/A N/A table N/A dict N/A N/A N/A N/A N/A self _columntoproperty N/A col key col N/A col columns N/A N/A table columns N/A N/A N/A self _cols_by_table items N/A _memoized_configured_property _pk_keys_by_table N/A N/A self N/A N/A N/A N/A dict N/A N/A table N/A frozenset N/A N/A col key N/A col pks N/A N/A table pks N/A N/A N/A self _pks_by_table items N/A _memoized_configured_property _server_default_cols N/A N/A self N/A N/A N/A N/A dict N/A N/A table N/A frozenset N/A N/A col key N/A col columns N/A N/A col server_default None N/A N/A table columns N/A N/A N/A self _cols_by_table items N/A _memoized_configured_property _server_onupdate_default_cols N/A N/A self N/A N/A N/A N/A dict N/A N/A table N/A frozenset N/A N/A col key N/A col columns N/A N/A col server_onupdate None N/A N/A table columns N/A N/A N/A self _cols_by_table items N/A _memoized_configured_property selectable N/A N/A self N/A N/A N/A The :func:`.select` construct this :class:`.Mapper` selects from
        by default.

        Normally, this is equivalent to :attr:`.mapped_table`, unless
        the ``with_polymorphic`` feature is in use, in which case the
        full "polymorphic" selectable is returned.

         N/A N/A self _with_polymorphic_selectable N/A property _with_polymorphic_args N/A N/A self spec selectable innerjoin N/A None False False N/A N/A N/A self with_polymorphic N/A N/A N/A spec N/A N/A spec N/A N/A self with_polymorphic N/A 0 N/A N/A selectable False N/A N/A selectable N/A N/A self with_polymorphic N/A 1 N/A N/A N/A selectable False N/A N/A selectable None N/A mappers N/A N/A self _mappers_from_spec spec selectable N/A N/A selectable None N/A N/A N/A mappers selectable N/A N/A N/A mappers N/A N/A self _selectable_from_mappers mappers innerjoin N/A _polymorphic_properties N/A N/A self N/A N/A N/A N/A list N/A N/A self _iterate_polymorphic_properties N/A self _with_polymorphic_mappers N/A _memoized_configured_property _iterate_polymorphic_properties N/A N/A self mappers N/A None N/A N/A Return an iterator of MapperProperty objects which will render into
        a SELECT. N/A N/A mappers None N/A N/A mappers N/A self _with_polymorphic_mappers N/A N/A mappers N/A N/A c N/A self iterate_properties N/A N/A N/A c N/A N/A c N/A N/A util unique_list N/A chain N/A N/A list N/A mapper iterate_properties N/A mapper N/A N/A self mappers N/A N/A N/A N/A getattr c _is_polymorphic_discriminator False N/A N/A N/A self polymorphic_on None N/A N/A N/A c columns N/A 0 N/A self polymorphic_on N/A N/A N/A N/A c N/A attrs N/A N/A self N/A N/A N/A A namespace of all :class:`.MapperProperty` objects
        associated this mapper.

        This is an object that provides each property based on
        its key name.  For instance, the mapper for a
        ``User`` class which has ``User.name`` attribute would
        provide ``mapper.attrs.name``, which would be the
        :class:`.ColumnProperty` representing the ``name``
        column.   The namespace object can also be iterated,
        which would yield each :class:`.MapperProperty`.

        :class:`.Mapper` has several pre-filtered views
        of this attribute which limit the types of properties
        returned, inclding :attr:`.synonyms`, :attr:`.column_attrs`,
        :attr:`.relationships`, and :attr:`.composites`.

        .. warning::

            the :attr:`.Mapper.relationships` accessor namespace is an
            instance of :class:`.OrderedProperties`.  This is
            a dictionary-like object which includes a small number of
            named methods such as :meth:`.OrderedProperties.items`
            and :meth:`.OrderedProperties.values`.  When
            accessing attributes dynamically, favor using the dict-access
            scheme, e.g. ``mapper.attrs[somename]`` over
            ``getattr(mapper.attrs, somename)`` to avoid name collisions.

        .. seealso::

            :attr:`.Mapper.all_orm_descriptors`

         N/A N/A Mapper _new_mappers N/A N/A N/A configure_mappers N/A N/A N/A util ImmutableProperties N/A self _props N/A N/A util memoized_property all_orm_descriptors N/A N/A self N/A N/A N/A A namespace of all :class:`.InspectionAttr` attributes associated
        with the mapped class.

        These attributes are in all cases Python :term:`descriptors`
        associated with the mapped class or its superclasses.

        This namespace includes attributes that are mapped to the class
        as well as attributes declared by extension modules.
        It includes any Python descriptor type that inherits from
        :class:`.InspectionAttr`.  This includes
        :class:`.QueryableAttribute`, as well as extension types such as
        :class:`.hybrid_property`, :class:`.hybrid_method` and
        :class:`.AssociationProxy`.

        To distinguish between mapped attributes and extension attributes,
        the attribute :attr:`.InspectionAttr.extension_type` will refer
        to a constant that distinguishes between different extension types.

        When dealing with a :class:`.QueryableAttribute`, the
        :attr:`.QueryableAttribute.property` attribute refers to the
        :class:`.MapperProperty` property, which is what you get when
        referring to the collection of mapped properties via
        :attr:`.Mapper.attrs`.

        .. warning::

            the :attr:`.Mapper.relationships` accessor namespace is an
            instance of :class:`.OrderedProperties`.  This is
            a dictionary-like object which includes a small number of
            named methods such as :meth:`.OrderedProperties.items`
            and :meth:`.OrderedProperties.values`.  When
            accessing attributes dynamically, favor using the dict-access
            scheme, e.g. ``mapper.attrs[somename]`` over
            ``getattr(mapper.attrs, somename)`` to avoid name collisions.

        .. versionadded:: 0.8.0

        .. seealso::

            :attr:`.Mapper.attrs`

         N/A N/A N/A util ImmutableProperties N/A dict N/A N/A N/A self class_manager _all_sqla_attributes N/A N/A util memoized_property synonyms N/A N/A self N/A N/A N/A Return a namespace of all :class:`.SynonymProperty`
        properties maintained by this :class:`.Mapper`.

        .. seealso::

            :attr:`.Mapper.attrs` - namespace of all :class:`.MapperProperty`
            objects.

         N/A N/A N/A self _filter_properties N/A properties SynonymProperty N/A _memoized_configured_property column_attrs N/A N/A self N/A N/A N/A Return a namespace of all :class:`.ColumnProperty`
        properties maintained by this :class:`.Mapper`.

        .. seealso::

            :attr:`.Mapper.attrs` - namespace of all :class:`.MapperProperty`
            objects.

         N/A N/A N/A self _filter_properties N/A properties ColumnProperty N/A _memoized_configured_property relationships N/A N/A self N/A N/A N/A Return a namespace of all :class:`.RelationshipProperty`
        properties maintained by this :class:`.Mapper`.

        .. warning::

            the :attr:`.Mapper.relationships` accessor namespace is an
            instance of :class:`.OrderedProperties`.  This is
            a dictionary-like object which includes a small number of
            named methods such as :meth:`.OrderedProperties.items`
            and :meth:`.OrderedProperties.values`.  When
            accessing attributes dynamically, favor using the dict-access
            scheme, e.g. ``mapper.attrs[somename]`` over
            ``getattr(mapper.attrs, somename)`` to avoid name collisions.

        .. seealso::

            :attr:`.Mapper.attrs` - namespace of all :class:`.MapperProperty`
            objects.

         N/A N/A N/A self _filter_properties N/A properties RelationshipProperty N/A _memoized_configured_property composites N/A N/A self N/A N/A N/A Return a namespace of all :class:`.CompositeProperty`
        properties maintained by this :class:`.Mapper`.

        .. seealso::

            :attr:`.Mapper.attrs` - namespace of all :class:`.MapperProperty`
            objects.

         N/A N/A N/A self _filter_properties N/A properties CompositeProperty N/A _memoized_configured_property _filter_properties N/A N/A self type_ N/A N/A N/A N/A Mapper _new_mappers N/A N/A N/A configure_mappers N/A N/A N/A util ImmutableProperties N/A N/A util OrderedDict N/A N/A k v N/A N/A k v N/A N/A N/A self _props items N/A isinstance v type_ N/A _get_clause N/A N/A self N/A N/A N/A create a "get clause" based on the primary key.  this is used
        by query.get() and many-to-one lazyloads to load this item
        by primary key.

         N/A params N/A N/A primary_key N/A N/A sql bindparam None type_ N/A primary_key type N/A primary_key N/A self primary_key N/A N/A N/A N/A sql and_ N/A N/A k v N/A N/A k v params N/A N/A util column_dict params N/A _memoized_configured_property _equivalent_columns N/A N/A self N/A N/A N/A Create a map of all *equivalent* columns, based on
        the determination of column pairs that are equated to
        one another based on inherit condition.  This is designed
        to work with the queries that util.polymorphic_union
        comes up with, which often don't include the columns from
        the base table directly (including the subclass table columns
        only).

        The resulting structure is a dictionary of columns mapped
        to lists of equivalent columns, i.e.

        {
            tablea.col1:
                set([tableb.col1, tablec.col1]),
            tablea.col2:
                set([tabled.col2])
        }

         N/A result N/A N/A util column_dict visit_binary N/A N/A binary N/A N/A N/A N/A N/A binary operator N/A operators eq N/A N/A N/A N/A binary left result N/A N/A N/A N/A N/A result N/A N/A binary left add N/A binary right N/A N/A N/A result N/A N/A binary left N/A N/A util column_set N/A N/A binary right N/A N/A N/A binary right result N/A N/A N/A N/A N/A result N/A N/A binary right add N/A binary left N/A N/A N/A result N/A N/A binary right N/A N/A util column_set N/A N/A binary left N/A N/A mapper N/A N/A self base_mapper self_and_descendants N/A N/A N/A N/A mapper inherit_condition None N/A N/A N/A N/A visitors traverse N/A mapper inherit_condition N/A N/A binary visit_binary N/A result N/A _memoized_configured_property _is_userland_descriptor N/A N/A self obj N/A N/A N/A N/A isinstance obj N/A _MappedAttribute N/A instrumentation ClassManager N/A expression ColumnElement N/A N/A False N/A N/A True N/A _should_exclude N/A N/A self name assigned_name local column N/A N/A N/A determine whether a particular property should be implicitly
        present on the class.

        This occurs when properties are propagated from an inherited class, or
        are applied from the columns present in the mapped table.

         N/A local N/A N/A N/A N/A N/A N/A N/A N/A self class_ __dict__ get assigned_name None None N/A N/A self _is_userland_descriptor N/A N/A N/A self class_ __dict__ N/A assigned_name N/A N/A True N/A N/A N/A N/A N/A getattr N/A self class_ assigned_name None None N/A N/A self _is_userland_descriptor N/A getattr N/A self class_ assigned_name N/A N/A True N/A N/A N/A N/A self include_properties None N/A name N/A self include_properties N/A N/A column None N/A column N/A self include_properties N/A N/A N/A N/A self _log N/A not including property %s name N/A True N/A N/A N/A N/A self exclude_properties None N/A N/A name N/A self exclude_properties N/A N/A column None N/A column N/A self exclude_properties N/A N/A N/A N/A self _log N/A excluding property %s name N/A True N/A False N/A common_parent N/A N/A self other N/A N/A N/A Return true if the given mapper shares a
        common inherited parent as this mapper. N/A N/A N/A self base_mapper N/A other base_mapper N/A _canload N/A N/A self state allow_subtypes N/A N/A N/A s N/A N/A self primary_mapper N/A N/A N/A N/A self polymorphic_on None allow_subtypes N/A N/A N/A N/A N/A _state_mapper state isa s N/A N/A N/A N/A _state_mapper state s N/A isa N/A N/A self other N/A N/A N/A Return True if the this mapper inherits from the given mapper. N/A m self N/A N/A m N/A m other N/A N/A m N/A m inherits N/A N/A bool m N/A iterate_to_root N/A N/A self N/A N/A N/A m self N/A m N/A N/A N/A m N/A m N/A m inherits N/A self_and_descendants N/A N/A self N/A N/A N/A The collection including this mapper and all descendant mappers.

        This includes not just the immediately inheriting mappers but
        all their inheriting mappers as well.

         N/A descendants N/A N/A stack N/A deque N/A self N/A stack N/A N/A item N/A N/A stack popleft N/A N/A N/A descendants append item N/A N/A N/A stack extend N/A item _inheriting_mappers N/A N/A N/A util WeakSequence descendants N/A _memoized_configured_property polymorphic_iterator N/A N/A self N/A N/A N/A Iterate through the collection including this mapper and
        all descendant mappers.

        This includes not just the immediately inheriting mappers but
        all their inheriting mappers as well.

        To iterate through an entire hierarchy, use
        ``mapper.base_mapper.polymorphic_iterator()``.

         N/A N/A iter N/A self self_and_descendants N/A primary_mapper N/A N/A self N/A N/A N/A Return the primary mapper corresponding to this mapper's class key
        (class). N/A N/A N/A self class_manager mapper N/A primary_base_mapper N/A N/A self N/A N/A N/A N/A N/A N/A self class_manager mapper base_mapper N/A property _result_has_identity_key N/A N/A self result adapter N/A None N/A N/A pk_cols N/A self primary_key N/A adapter N/A N/A pk_cols N/A N/A N/A adapter columns N/A c N/A c pk_cols N/A col pk_cols N/A N/A N/A N/A N/A result _has_key col N/A N/A False N/A N/A True N/A identity_key_from_row N/A N/A self row adapter N/A None N/A N/A Return an identity-map key for use in storing/retrieving an
        item from the identity map.

        :param row: A :class:`.RowProxy` instance.  The columns which are
         mapped by this :class:`.Mapper` should be locatable in the row,
         preferably via the :class:`.Column` object directly (as is the case
         when a :func:`.select` construct is executed), or via string names of
         the form ``<tablename>_<colname>``.

         N/A pk_cols N/A self primary_key N/A adapter N/A N/A pk_cols N/A N/A N/A adapter columns N/A c N/A c pk_cols N/A N/A N/A self _identity_class N/A tuple N/A N/A row N/A column N/A column pk_cols N/A identity_key_from_primary_key N/A N/A self primary_key N/A N/A N/A Return an identity-map key for use in storing/retrieving an
        item from an identity map.

        :param primary_key: A list of values indicating the identifier.

         N/A N/A N/A self _identity_class N/A tuple primary_key N/A identity_key_from_instance N/A N/A self instance N/A N/A N/A Return the identity key for the given instance, based on
        its primary key attributes.

        If the instance's state is expired, calling this method
        will result in a database check to see if the object has been deleted.
        If the row no longer exists,
        :class:`~sqlalchemy.orm.exc.ObjectDeletedError` is raised.

        This value is typically also found on the instance state under the
        attribute name `key`.

         N/A N/A N/A self identity_key_from_primary_key N/A N/A self primary_key_from_instance instance N/A _identity_key_from_state N/A N/A self state N/A N/A N/A dict_ N/A state dict N/A manager N/A state manager N/A N/A N/A self _identity_class N/A tuple N/A N/A N/A N/A N/A manager N/A N/A N/A N/A self _columntoproperty N/A col key impl get state dict_ N/A attributes PASSIVE_RETURN_NEVER_SET N/A col N/A self primary_key N/A primary_key_from_instance N/A N/A self instance N/A N/A N/A Return the list of primary key values for the given
        instance.

        If the instance's state is expired, calling this method
        will result in a database check to see if the object has been deleted.
        If the row no longer exists,
        :class:`~sqlalchemy.orm.exc.ObjectDeletedError` is raised.

         N/A state N/A N/A attributes instance_state instance N/A N/A N/A self _primary_key_from_state state N/A attributes PASSIVE_OFF N/A _primary_key_from_state N/A N/A self state passive N/A N/A attributes PASSIVE_RETURN_NEVER_SET N/A N/A dict_ N/A state dict N/A manager N/A state manager N/A N/A N/A N/A N/A N/A manager N/A N/A prop key impl get state dict_ passive N/A prop N/A self _identity_key_props N/A _identity_key_props N/A N/A self N/A N/A N/A N/A N/A N/A self _columntoproperty N/A col N/A col N/A self primary_key N/A _memoized_configured_property _all_pk_props N/A N/A self N/A N/A N/A collection N/A set N/A table N/A self tables N/A N/A N/A N/A collection update N/A N/A self _pks_by_table N/A table N/A collection N/A _memoized_configured_property _should_undefer_in_wildcard N/A N/A self N/A N/A N/A cols N/A set N/A self primary_key N/A N/A N/A self polymorphic_on None N/A N/A N/A N/A cols add N/A self polymorphic_on N/A cols N/A _memoized_configured_property _primary_key_propkeys N/A N/A self N/A N/A N/A N/A set N/A N/A prop key N/A prop N/A self _all_pk_props N/A _memoized_configured_property _get_state_attr_by_column N/A N/A self state dict_ column passive N/A N/A attributes PASSIVE_RETURN_NEVER_SET N/A N/A prop N/A N/A self _columntoproperty N/A column N/A N/A N/A N/A N/A N/A state manager N/A N/A prop key impl get state dict_ passive passive N/A _set_committed_state_attr_by_column N/A N/A self state dict_ column value N/A N/A N/A prop N/A N/A self _columntoproperty N/A column N/A N/A N/A N/A N/A N/A state manager N/A N/A prop key impl set_committed_value state dict_ value N/A _set_state_attr_by_column N/A N/A self state dict_ column value N/A N/A N/A prop N/A N/A self _columntoproperty N/A column N/A N/A N/A N/A N/A N/A state manager N/A N/A prop key impl set state dict_ value None N/A _get_committed_attr_by_column N/A N/A self obj column N/A N/A N/A state N/A N/A attributes instance_state obj N/A dict_ N/A N/A attributes instance_dict obj N/A N/A N/A self _get_committed_state_attr_by_column state dict_ column passive N/A attributes PASSIVE_OFF N/A _get_committed_state_attr_by_column N/A N/A self state dict_ column passive N/A N/A attributes PASSIVE_RETURN_NEVER_SET N/A N/A prop N/A N/A self _columntoproperty N/A column N/A N/A N/A N/A N/A N/A state manager N/A N/A prop key impl get_committed_value state dict_ passive passive N/A _optimized_get_statement N/A N/A self state attribute_names N/A N/A N/A assemble a WHERE clause which retrieves a given state by primary
        key, using a minimized set of tables.

        Applies to a joined-table inheritance mapper where the
        requested attribute names are only present on joined tables,
        not the base table.  The WHERE clause attempts to include
        only those tables to minimize joins.

         N/A props N/A self _props N/A tables N/A set N/A chain N/A N/A N/A sql_util find_tables c check_columns True N/A key attribute_names N/A c N/A N/A props N/A key columns N/A N/A N/A N/A self base_mapper local_table tables N/A N/A None ColumnsNotAvailable N/A Exception N/A N/A N/A visit_binary N/A N/A binary N/A N/A N/A leftcol N/A binary left N/A rightcol N/A binary right N/A N/A N/A leftcol None N/A rightcol None N/A N/A N/A N/A N/A leftcol table tables N/A N/A leftval N/A N/A self _get_committed_state_attr_by_column state N/A state dict leftcol passive N/A attributes PASSIVE_NO_INITIALIZE N/A N/A leftval N/A orm_util _none_set N/A N/A N/A ColumnsNotAvailable N/A N/A binary left N/A N/A sql bindparam None leftval type_ N/A N/A binary right type N/A N/A N/A N/A rightcol table tables N/A N/A rightval N/A N/A self _get_committed_state_attr_by_column state N/A state dict rightcol passive N/A attributes PASSIVE_NO_INITIALIZE N/A N/A rightval N/A orm_util _none_set N/A N/A N/A ColumnsNotAvailable N/A N/A binary right N/A N/A sql bindparam None rightval type_ N/A N/A binary right type N/A N/A allconds N/A N/A N/A N/A start False N/A mapper N/A reversed N/A list N/A N/A self iterate_to_root N/A N/A N/A N/A mapper local_table tables N/A N/A start True N/A N/A N/A N/A isinstance N/A mapper local_table N/A expression TableClause N/A N/A None N/A N/A start N/A N/A mapper single N/A N/A N/A N/A allconds append N/A N/A visitors cloned_traverse N/A mapper inherit_condition N/A N/A binary visit_binary N/A N/A N/A ColumnsNotAvailable N/A N/A None N/A cond N/A N/A sql and_ allconds N/A cols N/A N/A key attribute_names N/A N/A N/A N/A cols extend N/A N/A props N/A key columns N/A N/A N/A sql select cols cond use_labels True N/A cascade_iterator N/A N/A self type_ state halt_on N/A None N/A N/A Iterate each element and its mapper in an object graph,
        for all relationships that meet the given cascade rule.

        :param type_:
          The name of the cascade rule (i.e. ``"save-update"``, ``"delete"``,
          etc.).

          .. note::  the ``"all"`` cascade is not accepted here.  For a generic
             object traversal function, see :ref:`faq_walk_objects`.

        :param state:
          The lead InstanceState.  child items will be processed per
          the relationships defined for this object's mapper.

        :return: the method yields individual object instances.

        .. seealso::

            :ref:`unitofwork_cascades`

            :ref:`faq_walk_objects` - illustrates a generic function to
            traverse all objects without relying on cascades.

         N/A visited_states N/A set N/A N/A prp mpp N/A N/A object N/A object N/A visitables N/A deque N/A N/A N/A deque N/A N/A N/A self _props values prp state N/A state dict N/A visitables N/A N/A N/A iterator item_type parent_state parent_dict N/A visitables N/A -1 N/A N/A iterator N/A N/A N/A N/A visitables pop N/A N/A N/A item_type prp N/A N/A prop N/A N/A iterator popleft N/A N/A type_ N/A prop cascade N/A N/A N/A queue N/A deque N/A N/A prop cascade_iterator type_ parent_state parent_dict visited_states halt_on N/A queue N/A N/A N/A N/A visitables append N/A queue mpp None None N/A N/A N/A item_type mpp N/A N/A N/A instance instance_mapper corresponding_state corresponding_dict N/A N/A iterator popleft N/A N/A N/A instance instance_mapper corresponding_state corresponding_dict N/A N/A N/A visitables append N/A N/A deque N/A N/A N/A instance_mapper _props values prp corresponding_state corresponding_dict N/A _compiled_cache N/A N/A self N/A N/A N/A N/A N/A util LRUCache N/A self _compiled_cache_size N/A _memoized_configured_property _sorted_tables N/A N/A self N/A N/A N/A table_to_mapper N/A N/A mapper N/A N/A self base_mapper self_and_descendants N/A N/A t N/A mapper tables N/A N/A N/A N/A table_to_mapper setdefault t mapper N/A extra_dependencies N/A N/A N/A table mapper N/A N/A table_to_mapper items N/A N/A super_ N/A mapper inherits N/A super_ N/A N/A N/A N/A extra_dependencies extend N/A N/A super_table table N/A super_table N/A super_ tables skip N/A N/A fk N/A N/A N/A parent N/A N/A table_to_mapper get N/A N/A fk parent table N/A dep N/A N/A table_to_mapper get N/A N/A fk column table N/A N/A N/A parent None N/A dep None N/A dep parent N/A N/A dep inherit_condition None N/A N/A cols N/A set N/A N/A sql_util _find_columns N/A dep inherit_condition N/A N/A N/A parent inherit_condition None N/A N/A cols N/A N/A cols union N/A N/A sql_util _find_columns N/A parent inherit_condition N/A N/A N/A N/A fk parent cols N/A N/A fk column cols N/A N/A N/A N/A fk parent cols N/A False N/A N/A sorted_ N/A N/A sql_util sort_tables table_to_mapper skip_fn skip extra_dependencies extra_dependencies N/A ret N/A N/A util OrderedDict N/A t sorted_ N/A N/A N/A ret N/A t N/A table_to_mapper N/A t N/A ret N/A _memoized_configured_property _memo N/A N/A self key callable_ N/A N/A N/A N/A key N/A self _memoized_values N/A N/A N/A N/A self _memoized_values N/A key N/A N/A N/A N/A self _memoized_values N/A key value N/A callable_ N/A value N/A _table_to_equated N/A N/A self N/A N/A N/A memoized map of tables to collections of columns to be
        synchronized upwards to the base mapper. N/A result N/A N/A util defaultdict list N/A table N/A self _sorted_tables N/A N/A cols N/A set N/A table c N/A m N/A N/A self iterate_to_root N/A N/A N/A N/A m _inherits_equated_pairs N/A N/A cols intersection N/A N/A util reduce N/A set union N/A N/A l proxy_set N/A N/A l r N/A m _inherits_equated_pairs N/A N/A N/A N/A N/A result N/A table append N/A m N/A m _inherits_equated_pairs N/A result N/A N/A util memoized_property N/A N/A inspection _self_inspects N/A log class_logger configure_mappers N/A N/A N/A N/A N/A Initialize the inter-mapper relationships of all mappers that
    have been constructed thus far.

    This function can be called any number of times, but in
    most cases is invoked automatically, the first time mappings are used,
    as well as whenever mappings are used and additional not-yet-configured
    mappers have been constructed.

    Points at which this occur include when a mapped class is instantiated
    into an instance, as well as when the :meth:`.Session.query` method
    is used.

    The :func:`.configure_mappers` function provides several event hooks
    that can be used to augment its functionality.  These methods include:

    * :meth:`.MapperEvents.before_configured` - called once before
      :func:`.configure_mappers` does any work; this can be used to establish
      additional options, properties, or related mappings before the operation
      proceeds.

    * :meth:`.MapperEvents.mapper_configured` - called as each indivudal
      :class:`.Mapper` is configured within the process; will include all
      mapper state except for backrefs set up by other mappers that are still
      to be configured.

    * :meth:`.MapperEvents.after_configured` - called once after
      :func:`.configure_mappers` is complete; at this stage, all
      :class:`.Mapper` objects that are known  to SQLAlchemy will be fully
      configured.  Note that the calling application may still have other
      mappings that haven't been produced yet, such as if they are in modules
      as yet unimported.

     N/A N/A N/A Mapper _new_mappers N/A N/A N/A N/A N/A _CONFIGURE_MUTEX acquire N/A N/A N/A _already_compiling N/A _already_compiling N/A N/A N/A _already_compiling True N/A N/A N/A N/A N/A Mapper _new_mappers N/A N/A N/A N/A N/A N/A N/A N/A Mapper dispatch _for_class Mapper before_configured N/A mapper N/A list _mapper_registry N/A N/A N/A getattr mapper _configure_failed False N/A N/A e N/A N/A sa_exc InvalidRequestError N/A One or more mappers failed to initialize - can't proceed with initialization of other mappers.  Original exception was: %s N/A mapper _configure_failed N/A N/A e _configure_failed N/A mapper _configure_failed N/A e N/A N/A N/A mapper configured N/A N/A N/A N/A N/A N/A mapper _post_configure_properties N/A N/A N/A mapper _expire_memoizations N/A N/A N/A N/A mapper dispatch mapper_configured mapper N/A mapper class_ N/A N/A N/A Exception N/A N/A exc N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A hasattr exc _configure_failed N/A N/A N/A mapper _configure_failed exc N/A N/A N/A Mapper _new_mappers False N/A N/A _already_compiling False N/A N/A N/A N/A _CONFIGURE_MUTEX release N/A N/A N/A N/A N/A N/A Mapper dispatch _for_class Mapper after_configured N/A reconstructor N/A N/A fn N/A N/A N/A Decorate a method as the 'reconstructor' hook.

    Designates a method as the "reconstructor", an ``__init__``-like
    method that will be called by the ORM after the instance has been
    loaded from the database or otherwise reconstituted.

    The reconstructor will be invoked with no arguments.  Scalar
    (non-collection) database-mapped attributes of the instance will
    be available for use within the function.  Eagerly-loaded
    collections are generally not yet available and will usually only
    contain the first element.  ORM state changes made to objects at
    this stage will not be recorded for the next flush() operation, so
    the activity within a reconstructor should be conservative.

     N/A N/A fn __sa_reconstructor__ True N/A fn N/A validates N/A N/A N/A names kw N/A N/A Decorate a method as a 'validator' for one or more named properties.

    Designates a method as a validator, a method which receives the
    name of the attribute as well as a value to be assigned, or in the
    case of a collection, the value to be added to the collection.
    The function can then raise validation exceptions to halt the
    process from continuing (where Python's built-in ``ValueError``
    and ``AssertionError`` exceptions are reasonable choices), or can
    modify or replace the value before proceeding. The function should
    otherwise return the given value.

    Note that a validator for a collection **cannot** issue a load of that
    collection within the validation routine - this usage raises
    an assertion to avoid recursion overflows.  This is a reentrant
    condition which is not supported.

    :param \*names: list of attribute names to be validated.
    :param include_removes: if True, "remove" events will be
     sent as well - the validation function must accept an additional
     argument "is_remove" which will be a boolean.

     .. versionadded:: 0.7.7
    :param include_backrefs: defaults to ``True``; if ``False``, the
     validation function will not emit if the originator is an attribute
     event related via a backref.  This can be used for bi-directional
     :func:`.validates` usage where only one validator should emit per
     attribute operation.

     .. versionadded:: 0.9.0

    .. seealso::

      :ref:`simple_validators` - usage examples for :func:`.validates`

     N/A include_removes N/A N/A kw pop include_removes False N/A include_backrefs N/A N/A kw pop include_backrefs True wrap N/A N/A fn N/A N/A N/A N/A fn __sa_validators__ names N/A N/A fn __sa_validation_opts__ N/A include_removes include_backrefs include_removes include_backrefs N/A fn N/A N/A wrap N/A _event_on_load N/A N/A state ctx N/A N/A N/A instrumenting_mapper N/A N/A N/A state manager info N/A _INSTRUMENTOR N/A N/A instrumenting_mapper _reconstructor N/A N/A N/A N/A instrumenting_mapper _reconstructor N/A N/A state obj N/A _event_on_first_init N/A N/A manager cls N/A N/A N/A Initial mapper compilation trigger.

    instrumentation calls this one when InstanceState
    is first generated, and is needed for legacy mutable
    attributes to work.
     N/A instrumenting_mapper N/A N/A N/A manager info get _INSTRUMENTOR N/A instrumenting_mapper N/A N/A N/A Mapper _new_mappers N/A N/A N/A configure_mappers N/A _event_on_init N/A N/A state args kwargs N/A N/A N/A Run init_instance hooks.

    This also includes mapper compilation, normally not needed
    here but helps with some piecemeal configuration
    scenarios (such as in the ORM tutorial).

     N/A instrumenting_mapper N/A N/A N/A N/A state manager info get _INSTRUMENTOR N/A instrumenting_mapper N/A N/A N/A Mapper _new_mappers N/A N/A N/A configure_mappers N/A N/A instrumenting_mapper _set_polymorphic_identity N/A N/A N/A N/A instrumenting_mapper _set_polymorphic_identity state N/A _ColumnMapping N/A dict N/A N/A Error reporting helper for mapper._columntoproperty. N/A __slots__ N/A mapper __init__ N/A N/A self mapper N/A N/A N/A N/A self mapper mapper N/A __missing__ N/A N/A self column N/A N/A N/A prop N/A N/A N/A N/A self mapper _props get column N/A prop N/A N/A N/A N/A orm_exc UnmappedColumnError N/A Column '%s.%s' is not available, due to conflicting property '%s':%r N/A N/A N/A column table name N/A column name N/A column key prop N/A N/A N/A orm_exc UnmappedColumnError N/A No column %s is configured on mapper %s... N/A column N/A self mapper N/A N/A