Module ImportFrom alias ImportFrom alias alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad Str Str Str Str Str Str Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad Dict body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list decorator_list Assign NameStore Call NameLoad Str ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body If NameLoad body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr If CompareIn Str ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad body Raise Call NameLoad Str For TupleStore NameStore NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Slice Num Str body Continue Expr Call NameLoad NameLoad NameLoad NameLoad If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr orelse If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq SubscriptLoad NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Dict Assign NameStore Call NameLoad TupleLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd CompareIn AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Continue Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Dict BinOpAdd NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad BinOpAdd ListComp Call NameLoad Dict NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad ListLoad NameLoad Expr Call NameLoad TupleLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareGt Call AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore BinOpBitAnd NameLoad Call NameLoad Dict AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore BinOpBitAnd NameLoad Call NameLoad Dict AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Slice Num Index Num handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd CompareEq NameLoad Str CompareEq NameLoad Dict body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore NameLoad TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body ClassDef bases body Pass decorator_list Assign NameStore Call NameLoad Call NameLoad NameLoad For NameStore NameLoad body If Call NameLoad NameLoad Str body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Continue If CompareNotIn NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign NameStore AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign NameStore ListLoad NameLoad orelse Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad For NameStore NameLoad body If BoolOpAnd UnaryOpNot BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Break If CompareIs NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str NameLoad TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Pass orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore Call NameLoad BinOpSub Call NameLoad NameLoad Num Num Num body If Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad body Delete SubscriptDel NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore TupleLoad Str Str Str Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad If CompareNotIn NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str orelse If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore NameLoad Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore NameStore NameLoad body If Call NameLoad NameLoad NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Break If BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call NameLoad NameLoad Str NameLoad Return NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults vararg kwarg body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list ClassDef bases Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Str Assign NameStore Call NameLoad ClassDef bases body Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpAdd NameLoad Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assert CompareIs NameLoad AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assert CompareIs NameLoad AttributeLoad NameLoad attr Str Assert UnaryOpNot AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assert CompareIs NameLoad AttributeLoad NameLoad attr Str Assert AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad body Return If CompareLt NameLoad Num body Assign NameStore Call NameLoad BinOpAdd NameLoad NameLoad UnaryOpUSub NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad GeneratorExp IfExp CompareGtE NameLoad NameLoad BinOpAdd NameLoad NameLoad NameLoad comprehension NameStore NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If Call AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpAdd Str NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body AugAssignSub NameStore Num AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str body Assign NameStore ListLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr While CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Dict BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Dict BinOpMod Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitOr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad orelse If Call AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If Call AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body AugAssignAdd NameStore Num AugAssignSub NameStore Num Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareIs Call AttributeLoad NameLoad attr Str NameLoad body Return Num orelse Return BinOpFloorDiv BinOpSub BinOpSub Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword BinOpSub Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Call NameLoad NameLoad BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Slice Num Return BoolOpOr BoolOpAnd NameLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Call NameLoad NameLoad BinOpAdd AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Num Return BoolOpOr BoolOpAnd NameLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Str keyword NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad orelse Assign NameStore Call NameLoad NameLoad BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return UnaryOpNot Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return UnaryOpNot Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareIs Call NameLoad NameLoad BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad If CompareNotEq Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad orelse Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return BoolOpAnd CompareGt NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr CompareLt NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareIs Call AttributeLoad NameLoad attr Str NameLoad body Return NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore ListLoad Assign NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareNotIn AttributeLoad NameLoad attr NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot BoolOpOr NameLoad NameLoad body If CompareIs Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call NameLoad NameLoad BinOpMod Str AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr BinOpAdd NameLoad Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Str Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num orelse Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Num Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr NameLoad BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore CompareEq NameLoad NameLoad If BoolOpAnd NameLoad CompareGt Call NameLoad AttributeLoad NameLoad attr Num body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareIs NameLoad NameLoad CompareNotIn NameLoad NameLoad body Assign NameStore NameLoad Break If CompareNotEq NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore NameLoad Break If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str orelse If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr BinOpAdd NameLoad Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Str Num Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad TryFinally body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore BoolOpOr CompareNotEq Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr CompareLt Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str keyword NameLoad keyword NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr BinOpAdd Str AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str keyword NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad NameLoad body Assign NameStore BinOpMult Num BinOpAdd Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body If CompareGt Call NameLoad NameLoad Num body If UnaryOpNot SubscriptLoad NameLoad Index Num body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad orelse If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr orelse If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr body Pass orelse Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad If BoolOpOr NameLoad CompareIs NameLoad NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad keyword NameLoad If NameLoad body Assign NameStore BinOpMult Num BinOpAdd Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad TryFinally body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad finalbody If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore BinOpAdd BinOpSub Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign NameStore BinOpSub UnaryOpUSub Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Assign NameStore AttributeLoad Call NameLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A __future__ unicode_literals functools reduce wraps N/A operator N/A threading django.db models django.db.models.base ModelBase django.db.models.query Q django.db.models.query_utils DeferredAttribute django.utils six django.utils.translation ugettext _ mptt.fields TreeForeignKey TreeOneToOneField TreeManyToManyField mptt.managers TreeManager mptt.signals node_moved mptt.utils _get_tree_model N/A __all__ N/A TreeForeignKey TreeOneToOneField TreeManyToManyField TreeManager MPTTOptions MPTTModelBase MPTTModel _classproperty N/A object N/A __init__ N/A N/A self getter setter N/A None N/A N/A N/A self fget getter N/A N/A self fset setter N/A __get__ N/A N/A self cls owner N/A N/A N/A N/A N/A self fget owner N/A __set__ N/A N/A self cls owner value N/A N/A N/A N/A N/A self fset N/A N/A N/A AttributeError This classproperty is read only N/A N/A N/A self fset owner value N/A N/A classpropertytype N/A property N/A __init__ N/A N/A self name bases members N/A N/A N/A N/A N/A N/A N/A N/A super classpropertytype self __init__ N/A N/A members get __get__ N/A N/A members get __set__ N/A N/A members get __delete__ N/A N/A members get __doc__ N/A N/A N/A classproperty N/A classpropertytype classproperty MPTTOptions N/A object N/A N/A 
    Options class for MPTT models. Use this as an inner class called ``MPTTMeta``::

        class MyModel(MPTTModel):
            class MPTTMeta:
                order_insertion_by = ['name']
                parent_attr = 'myparent'
     N/A order_insertion_by N/A N/A left_attr lft N/A right_attr rght N/A tree_id_attr tree_id N/A level_attr level N/A parent_attr parent __init__ N/A N/A self opts N/A None kwargs N/A N/A opts N/A N/A opts N/A list N/A N/A N/A opts __dict__ items N/A N/A opts N/A N/A N/A N/A opts extend N/A list N/A N/A kwargs items N/A N/A tree_manager_attr N/A N/A opt N/A 0 N/A opt opts N/A N/A N/A ValueError `tree_manager_attr` has been removed; you should instantiate a TreeManager as a normal manager on your model instead. N/A N/A key value opts N/A N/A N/A N/A key N/A 2 __ N/A N/A N/A N/A setattr self key value N/A N/A isinstance N/A self order_insertion_by N/A six string_types N/A N/A N/A self order_insertion_by N/A N/A self order_insertion_by N/A N/A N/A isinstance N/A self order_insertion_by tuple N/A N/A N/A self order_insertion_by N/A list N/A self order_insertion_by N/A N/A N/A N/A self order_insertion_by None N/A N/A N/A self order_insertion_by N/A N/A __iter__ N/A N/A self N/A N/A N/A N/A N/A k v N/A N/A k v N/A N/A N/A self __dict__ items N/A N/A k N/A 0 _ N/A get_raw_field_value N/A N/A self instance field_name N/A N/A N/A 
        Gets the value of the given fieldname for the instance.
        This is not the same as getattr().
        This function will return IDs for foreignkeys etc, rather than doing
        a database query.
         N/A field N/A N/A N/A instance _meta get_field field_name N/A N/A N/A field value_from_object instance N/A set_raw_field_value N/A N/A self instance field_name value N/A N/A N/A 
        Sets the value of the given fieldname for the instance.
        This is not the same as setattr().
        This function requires an ID for a foreignkey (etc) rather than an instance.
         N/A field N/A N/A N/A instance _meta get_field field_name N/A N/A setattr instance N/A field attname value N/A update_mptt_cached_fields N/A N/A self instance N/A N/A N/A 
        Caches (in an instance._mptt_cached_fields dict) the original values of:
         - parent pk
         - fields specified in order_insertion_by

        These are used in save() to determine if the relevant fields have changed,
        so that the MPTT fields need to be updated.
         N/A N/A instance _mptt_cached_fields N/A N/A field_names N/A set N/A N/A self parent_attr N/A N/A self order_insertion_by N/A N/A f N/A self order_insertion_by N/A N/A N/A N/A f N/A 0 - N/A N/A f N/A f N/A 1 N/A N/A N/A field_names add f N/A field_name field_names N/A N/A N/A instance _deferred N/A N/A field N/A N/A N/A instance _meta get_field field_name N/A N/A N/A N/A field attname N/A N/A instance get_deferred_fields N/A N/A field attname N/A instance __dict__ N/A N/A N/A N/A instance _mptt_cached_fields N/A field_name DeferredAttribute N/A N/A N/A N/A instance _mptt_cached_fields N/A field_name N/A N/A self get_raw_field_value instance field_name N/A insertion_target_filters N/A N/A self instance order_insertion_by N/A N/A N/A 
        Creates a filter which matches suitable right siblings for ``node``,
        where insertion should maintain ordering according to the list of
        fields in ``order_insertion_by``.

        For example, given an ``order_insertion_by`` of
        ``['field1', 'field2', 'field3']``, the resulting filter should
        correspond to the following SQL::

           field1 > %s
           OR (field1 = %s AND field2 > %s)
           OR (field1 = %s AND field2 = %s AND field3 > %s)

         N/A fields N/A N/A filters N/A N/A fields__append N/A fields append N/A filters__append N/A filters append N/A and_ N/A operator and_ N/A or_ N/A operator or_ N/A field_name order_insertion_by N/A N/A N/A N/A field_name N/A 0 - N/A N/A field_name N/A field_name N/A 1 N/A filter_suffix __lt N/A N/A filter_suffix __gt N/A value N/A getattr instance field_name N/A N/A value None N/A N/A field N/A N/A N/A instance _meta get_field field_name N/A value N/A N/A field pre_save instance True N/A q N/A Q N/A N/A field_name filter_suffix value N/A N/A filters__append N/A reduce and_ N/A N/A N/A Q N/A f v N/A N/A f v fields N/A q N/A N/A fields__append N/A field_name value N/A N/A reduce or_ filters N/A get_ordered_insertion_target N/A N/A self node parent N/A N/A N/A 
        Attempts to retrieve a suitable right sibling for ``node``
        underneath ``parent`` (which may be ``None`` in the case of root
        nodes) so that ordering by the fields specified by the node's class'
        ``order_insertion_by`` option is maintained.

        Returns ``None`` if no suitable sibling can be found.
         N/A right_sibling None N/A N/A N/A parent None N/A N/A N/A parent get_descendant_count 0 N/A N/A opts N/A node _mptt_meta N/A order_by N/A N/A opts order_insertion_by N/A N/A filters N/A N/A self insertion_target_filters node order_by N/A parent N/A N/A filters N/A filters N/A Q N/A N/A opts parent_attr parent N/A N/A N/A order_by append N/A opts left_attr N/A N/A filters N/A filters N/A Q N/A N/A opts parent_attr None N/A N/A N/A order_by append N/A opts tree_id_attr N/A queryset N/A N/A N/A N/A N/A N/A node __class__ _tree_manager filter filters order_by order_by N/A N/A node pk N/A N/A queryset N/A N/A queryset exclude pk N/A node pk N/A N/A N/A right_sibling N/A N/A queryset N/A 1 N/A 0 N/A N/A N/A IndexError N/A N/A N/A right_sibling N/A N/A MPTTModelBase N/A ModelBase N/A N/A 
    Metaclass for MPTT models
     __new__ N/A N/A meta class_name bases class_dict N/A N/A N/A 
        Create subclasses of MPTTModel. This:
         - adds the MPTT fields to the class
         - adds a TreeManager to the model
         N/A N/A N/A class_name NewBase N/A class_dict N/A N/A N/A N/A N/A N/A super MPTTModelBase meta __new__ meta class_name bases class_dict N/A is_MPTTModel False N/A N/A N/A MPTTModel N/A N/A N/A NameError N/A N/A is_MPTTModel True N/A MPTTMeta N/A N/A class_dict pop MPTTMeta None N/A N/A MPTTMeta N/A MPTTMeta N/A N/A N/A N/A N/A initial_options N/A frozenset N/A dir MPTTMeta N/A base bases N/A N/A N/A hasattr base _mptt_meta N/A N/A N/A name value N/A base _mptt_meta N/A N/A N/A name tree_manager_attr N/A N/A N/A N/A name initial_options N/A N/A N/A setattr MPTTMeta name value N/A N/A class_dict N/A _mptt_meta N/A MPTTOptions MPTTMeta N/A super_new N/A N/A super MPTTModelBase meta __new__ N/A cls N/A super_new meta class_name bases class_dict N/A cls N/A N/A meta register cls N/A N/A cls _mptt_tracking_base None N/A is_MPTTModel N/A N/A bases N/A cls N/A N/A bases N/A base N/A base N/A N/A cls mro N/A issubclass base MPTTModel N/A base bases N/A N/A N/A N/A N/A N/A N/A base _meta abstract N/A N/A base _meta proxy N/A N/A N/A base _tree_manager tree_model base N/A N/A N/A cls _mptt_tracking_base base N/A N/A N/A cls N/A cls _mptt_tracking_base N/A N/A N/A cls _threadlocal N/A N/A threading local N/A cls N/A register N/A N/A meta cls N/A kwargs N/A N/A 
        For the weird cases when you need to add tree-ness to an *existing*
        class. For other cases you should subclass MPTTModel instead of calling this.
         N/A N/A N/A issubclass cls N/A models Model N/A N/A N/A ValueError N/A _ register() expects a Django model class argument N/A N/A N/A hasattr cls _mptt_meta N/A N/A N/A cls _mptt_meta N/A MPTTOptions kwargs N/A abstract N/A getattr N/A cls _meta abstract False N/A N/A N/A MPTTModel N/A N/A N/A NameError N/A N/A N/A N/A N/A N/A issubclass cls MPTTModel N/A N/A bases N/A list N/A cls __bases__ N/A i N/A range N/A N/A len bases 1 -1 -1 N/A N/A N/A issubclass MPTTModel N/A bases N/A i N/A N/A N/A bases N/A i N/A N/A N/A bases insert 0 MPTTModel N/A N/A cls __bases__ N/A tuple bases N/A N/A N/A _get_tree_model cls cls N/A N/A existing_field_names N/A set N/A base N/A N/A cls mro N/A N/A N/A hasattr base _meta N/A N/A N/A N/A existing_field_names update N/A N/A f name N/A f N/A N/A base _meta local_fields N/A key N/A left_attr right_attr tree_id_attr level_attr N/A N/A field_name N/A getattr N/A cls _mptt_meta key N/A N/A field_name existing_field_names N/A N/A field N/A N/A models PositiveIntegerField db_index True editable False N/A N/A N/A field contribute_to_class cls field_name N/A N/A abstract N/A N/A manager N/A getattr cls objects None N/A N/A manager None N/A N/A manager N/A N/A N/A cls _default_manager _copy_to_model cls N/A N/A N/A manager contribute_to_class cls objects N/A N/A N/A N/A manager model cls N/A N/A manager N/A N/A manager _copy_to_model cls N/A N/A N/A manager contribute_to_class cls objects N/A tree_manager None N/A cls_managers N/A N/A N/A cls _meta concrete_managers N/A N/A cls _meta abstract_managers N/A N/A __ __ cls_manager cls_managers N/A N/A N/A isinstance cls_manager TreeManager N/A N/A N/A N/A cls_manager model cls N/A N/A tree_manager cls_manager N/A N/A N/A tree_manager N/A N/A tree_manager model cls N/A N/A tree_manager N/A N/A tree_manager _copy_to_model cls N/A N/A N/A tree_manager None N/A N/A tree_manager N/A TreeManager N/A N/A N/A tree_manager contribute_to_class cls _tree_manager N/A N/A setattr cls _tree_manager tree_manager N/A cls N/A classmethod N/A raise_if_unsaved N/A N/A func N/A N/A _fn N/A N/A self N/A args kwargs N/A N/A N/A N/A self pk N/A N/A N/A ValueError N/A Cannot call %(function)s on unsaved %(class)s instances N/A function class N/A func __name__ N/A N/A self __class__ __name__ N/A N/A func self args kwargs N/A N/A wraps func N/A _fn N/A MPTTModel N/A N/A N/A six with_metaclass MPTTModelBase N/A models Model N/A N/A 
    Base class for tree models.
     N/A _default_manager N/A TreeManager Meta N/A N/A N/A abstract True N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super MPTTModel self __init__ args kwargs N/A N/A N/A N/A self _mptt_meta update_mptt_cached_fields self N/A _mpttfield N/A N/A self fieldname N/A N/A N/A translated_fieldname N/A getattr N/A self _mptt_meta N/A fieldname _attr N/A N/A getattr self translated_fieldname N/A _mptt_updates_enabled N/A N/A cls N/A N/A N/A N/A N/A cls _mptt_tracking_base N/A N/A True N/A N/A getattr N/A N/A cls _mptt_tracking_base _threadlocal mptt_updates_enabled True N/A _classproperty _set_mptt_updates_enabled N/A N/A cls value N/A N/A N/A N/A cls N/A cls _mptt_tracking_base Can't enable or disable mptt updates on a non-tracking class. N/A N/A N/A cls _threadlocal mptt_updates_enabled value N/A classmethod _mptt_is_tracking N/A N/A cls N/A N/A N/A N/A N/A cls _mptt_tracking_base N/A N/A False N/A N/A N/A hasattr N/A cls _threadlocal mptt_delayed_tree_changes N/A N/A N/A N/A cls _threadlocal mptt_delayed_tree_changes None N/A N/A N/A N/A cls _threadlocal mptt_delayed_tree_changes None N/A _classproperty _mptt_start_tracking N/A N/A cls N/A N/A N/A N/A cls N/A cls _mptt_tracking_base Can't start or stop mptt tracking on a non-tracking class. N/A N/A N/A cls _mptt_is_tracking mptt tracking is already started. N/A N/A N/A cls _threadlocal mptt_delayed_tree_changes N/A set N/A classmethod _mptt_stop_tracking N/A N/A cls N/A N/A N/A N/A cls N/A cls _mptt_tracking_base Can't start or stop mptt tracking on a non-tracking class. N/A N/A cls _mptt_is_tracking mptt tracking isn't started. N/A results N/A N/A cls _threadlocal mptt_delayed_tree_changes N/A N/A N/A cls _threadlocal mptt_delayed_tree_changes None N/A results N/A classmethod _mptt_track_tree_modified N/A N/A cls tree_id N/A N/A N/A N/A N/A cls _mptt_is_tracking N/A N/A N/A N/A N/A N/A N/A cls _threadlocal mptt_delayed_tree_changes add tree_id N/A classmethod _mptt_track_tree_insertions N/A N/A cls tree_id num_inserted N/A N/A N/A N/A N/A cls _mptt_is_tracking N/A N/A N/A changes N/A N/A cls _threadlocal mptt_delayed_tree_changes N/A N/A N/A num_inserted N/A changes N/A N/A N/A N/A num_inserted 0 N/A N/A deleted N/A range N/A tree_id num_inserted N/A num_inserted N/A N/A N/A changes difference_update deleted N/A new_changes N/A set N/A N/A N/A t tree_id N/A t num_inserted t N/A t changes N/A N/A N/A cls _threadlocal mptt_delayed_tree_changes new_changes N/A classmethod get_ancestors N/A N/A self ascending include_self N/A False False N/A N/A 
        Creates a ``QuerySet`` containing the ancestors of this model
        instance.

        This defaults to being in descending order (root ancestor first,
        immediate parent last); passing ``True`` for the ``ascending``
        argument will reverse the ordering (immediate parent first, root
        ancestor last).

        If ``include_self`` is ``True``, the ``QuerySet`` will also
        include this model instance.
         N/A N/A N/A self is_root_node N/A N/A N/A include_self N/A N/A N/A N/A N/A self _tree_manager none N/A N/A qs N/A N/A N/A self _tree_manager filter pk N/A self pk N/A N/A opts N/A self _mptt_meta N/A order_by N/A opts left_attr N/A ascending N/A N/A order_by N/A - order_by N/A left N/A getattr self N/A opts left_attr N/A right N/A getattr self N/A opts right_attr N/A N/A include_self N/A N/A left 1 N/A right 1 N/A qs N/A N/A N/A self _tree_manager _mptt_filter left__lte left right__gte right tree_id N/A N/A self _mpttfield tree_id N/A qs N/A N/A qs order_by order_by N/A N/A hasattr self _mptt_use_cached_ancestors N/A N/A ancestors N/A N/A p self N/A N/A include_self N/A N/A p N/A getattr p N/A opts parent_attr N/A N/A p None N/A N/A N/A N/A ancestors append p N/A p N/A getattr p N/A opts parent_attr N/A N/A N/A ancestors reverse N/A N/A qs _result_cache ancestors N/A qs N/A raise_if_unsaved get_family N/A N/A self N/A N/A N/A 
        Returns a ``QuerySet`` containing the ancestors, the model itself
        and the descendants, in tree order.
         N/A opts N/A self _mptt_meta N/A left N/A getattr self N/A opts left_attr N/A right N/A getattr self N/A opts right_attr N/A ancestors N/A Q N/A N/A %s__lte N/A opts left_attr N/A %s__gte N/A opts right_attr N/A opts tree_id_attr left right N/A N/A self _mpttfield tree_id N/A descendants N/A Q N/A N/A %s__gte N/A opts left_attr N/A %s__lte N/A opts left_attr N/A opts tree_id_attr left right N/A N/A self _mpttfield tree_id N/A N/A N/A N/A self _tree_manager filter N/A ancestors descendants N/A raise_if_unsaved get_children N/A N/A self N/A N/A N/A 
        Returns a ``QuerySet`` containing the immediate children of this
        model instance, in tree order.

        The benefit of using this method over the reverse relation
        provided by the ORM to the instance's children is that a
        database query can be avoided in the case where the instance is
        a leaf node (it has no children).

        If called from a template where the tree has been walked by the
        ``cache_tree_children`` filter, no database query is required.
         N/A N/A hasattr self _cached_children N/A N/A qs N/A N/A N/A self _tree_manager filter pk__in N/A N/A n pk N/A n N/A self _cached_children N/A N/A qs _result_cache N/A self _cached_children N/A qs N/A N/A N/A N/A self is_leaf_node N/A N/A N/A N/A N/A self _tree_manager none N/A N/A N/A N/A self _tree_manager _mptt_filter parent self N/A raise_if_unsaved get_descendants N/A N/A self include_self N/A False N/A N/A 
        Creates a ``QuerySet`` containing descendants of this model
        instance, in tree order.

        If ``include_self`` is ``True``, the ``QuerySet`` will also
        include this model instance.
         N/A N/A N/A self is_leaf_node N/A N/A N/A include_self N/A N/A N/A N/A N/A self _tree_manager none N/A N/A N/A N/A N/A self _tree_manager filter pk N/A self pk N/A opts N/A self _mptt_meta N/A left N/A getattr self N/A opts left_attr N/A right N/A getattr self N/A opts right_attr N/A N/A include_self N/A N/A left 1 N/A right 1 N/A N/A N/A N/A self _tree_manager _mptt_filter tree_id N/A N/A self _mpttfield tree_id left__gte left left__lte right N/A raise_if_unsaved get_descendant_count N/A N/A self N/A N/A N/A 
        Returns the number of descendants this model instance has.
         N/A N/A N/A N/A self _mpttfield right None N/A N/A 0 N/A N/A N/A N/A N/A N/A N/A self _mpttfield right N/A N/A self _mpttfield left 1 2 N/A get_leafnodes N/A N/A self include_self N/A False N/A N/A 
        Creates a ``QuerySet`` containing leafnodes of this model
        instance, in tree order.

        If ``include_self`` is ``True``, the ``QuerySet`` will also
        include this model instance (if it is a leaf node)
         N/A descendants N/A N/A self get_descendants include_self include_self N/A N/A N/A N/A self _tree_manager _mptt_filter descendants left N/A N/A N/A models F N/A N/A self _mptt_meta right_attr 1 N/A raise_if_unsaved get_next_sibling N/A N/A self N/A filter_args filter_kwargs N/A N/A 
        Returns this model instance's next sibling in the tree, or
        ``None`` if it doesn't have a next sibling.
         N/A qs N/A N/A N/A self _tree_manager filter filter_args filter_kwargs N/A N/A N/A self is_root_node N/A N/A qs N/A N/A N/A self _tree_manager _mptt_filter qs parent None tree_id__gt N/A N/A self _mpttfield tree_id N/A N/A qs N/A N/A N/A self _tree_manager _mptt_filter qs parent__pk N/A getattr self N/A N/A N/A self _mptt_meta parent_attr _id left__gt N/A N/A self _mpttfield right N/A siblings N/A qs N/A 1 N/A N/A N/A siblings N/A siblings N/A 0 None N/A raise_if_unsaved get_previous_sibling N/A N/A self N/A filter_args filter_kwargs N/A N/A 
        Returns this model instance's previous sibling in the tree, or
        ``None`` if it doesn't have a previous sibling.
         N/A opts N/A self _mptt_meta N/A qs N/A N/A N/A self _tree_manager filter filter_args filter_kwargs N/A N/A N/A self is_root_node N/A N/A qs N/A N/A N/A self _tree_manager _mptt_filter qs parent None tree_id__lt N/A N/A self _mpttfield tree_id N/A qs N/A N/A qs order_by N/A - N/A opts tree_id_attr N/A N/A qs N/A N/A N/A self _tree_manager _mptt_filter qs parent__pk N/A getattr self N/A N/A opts parent_attr _id right__lt N/A N/A self _mpttfield left N/A qs N/A N/A qs order_by N/A - N/A opts right_attr N/A siblings N/A qs N/A 1 N/A N/A N/A siblings N/A siblings N/A 0 None N/A raise_if_unsaved get_root N/A N/A self N/A N/A N/A 
        Returns the root node of this model instance's tree.
         N/A N/A N/A N/A self is_root_node N/A N/A type self N/A N/A self _tree_manager tree_model N/A N/A self N/A N/A N/A N/A N/A N/A self _tree_manager _mptt_filter tree_id N/A N/A self _mpttfield tree_id parent None get N/A raise_if_unsaved get_siblings N/A N/A self include_self N/A False N/A N/A 
        Creates a ``QuerySet`` containing siblings of this model
        instance. Root nodes are considered to be siblings of other root
        nodes.

        If ``include_self`` is ``True``, the ``QuerySet`` will also
        include this model instance.
         N/A N/A N/A self is_root_node N/A N/A queryset N/A N/A N/A self _tree_manager _mptt_filter parent None N/A N/A parent_id N/A getattr self N/A N/A N/A self _mptt_meta parent_attr _id N/A queryset N/A N/A N/A self _tree_manager _mptt_filter parent__pk parent_id N/A N/A include_self N/A N/A queryset N/A N/A queryset exclude pk N/A self pk N/A queryset N/A raise_if_unsaved get_level N/A N/A self N/A N/A N/A 
        Returns the level of this node (distance from root)
         N/A N/A getattr self N/A N/A self _mptt_meta level_attr N/A insert_at N/A N/A self target position save allow_existing_pk refresh_target N/A first-child False False True N/A N/A 
        Convenience method for calling ``TreeManager.insert_node`` with this
        model instance.
         N/A N/A N/A N/A self _tree_manager insert_node self target position save allow_existing_pk allow_existing_pk refresh_target refresh_target N/A is_child_node N/A N/A self N/A N/A N/A 
        Returns ``True`` if this model instance is a child node, ``False``
        otherwise.
         N/A N/A N/A N/A self is_root_node N/A is_leaf_node N/A N/A self N/A N/A N/A 
        Returns ``True`` if this model instance is a leaf node (it has no
        children), ``False`` otherwise.
         N/A N/A N/A N/A self get_descendant_count N/A is_root_node N/A N/A self N/A N/A N/A 
        Returns ``True`` if this model instance is a root node,
        ``False`` otherwise.
         N/A N/A N/A getattr self N/A N/A N/A self _mptt_meta parent_attr _id None N/A is_descendant_of N/A N/A self other include_self N/A False N/A N/A 
        Returns ``True`` if this model is a descendant of the given node,
        ``False`` otherwise.
        If include_self is True, also returns True if the two nodes are the same node.
         N/A opts N/A self _mptt_meta N/A N/A include_self N/A N/A other pk N/A self pk N/A N/A True N/A N/A N/A getattr self N/A opts tree_id_attr N/A getattr other N/A opts tree_id_attr N/A N/A False N/A N/A left N/A getattr self N/A opts left_attr N/A right N/A getattr self N/A opts right_attr N/A N/A N/A left N/A getattr other N/A opts left_attr N/A right N/A getattr other N/A opts right_attr N/A raise_if_unsaved is_ancestor_of N/A N/A self other include_self N/A False N/A N/A 
        Returns ``True`` if this model is an ancestor of the given node,
        ``False`` otherwise.
        If include_self is True, also returns True if the two nodes are the same node.
         N/A N/A include_self N/A N/A other pk N/A self pk N/A N/A True N/A N/A N/A other is_descendant_of self N/A raise_if_unsaved move_to N/A N/A self target position N/A first-child N/A N/A 
        Convenience method for calling ``TreeManager.move_node`` with this
        model instance.

        NOTE: This is a low-level method; it does NOT respect ``MPTTMeta.order_insertion_by``.
        In most cases you should just move the node yourself by setting node.parent.
         N/A N/A N/A N/A self _tree_manager move_node self target position N/A _is_saved N/A N/A self using N/A None N/A N/A N/A N/A N/A self pk N/A N/A N/A self _mpttfield tree_id None N/A N/A False N/A opts N/A self _meta N/A N/A N/A N/A opts pk rel None N/A N/A True N/A N/A N/A N/A hasattr self _mptt_saved N/A N/A manager N/A N/A self __class__ _base_manager N/A manager N/A N/A manager using using N/A N/A self _mptt_saved N/A N/A N/A N/A manager filter pk N/A self pk exists N/A N/A self _mptt_saved N/A _get_user_field_names N/A N/A self N/A N/A N/A  Returns the list of user defined (i.e. non-mptt internal) field names.  django.db.models.fields AutoField N/A field_names N/A N/A internal_fields N/A N/A N/A self _mptt_meta left_attr N/A N/A self _mptt_meta right_attr N/A N/A self _mptt_meta tree_id_attr N/A N/A self _mptt_meta level_attr N/A N/A self _mptt_meta parent_attr N/A field N/A N/A self _meta fields N/A N/A N/A N/A N/A field name internal_fields N/A N/A isinstance field AutoField N/A N/A field primary_key N/A N/A N/A N/A field_names append N/A field name N/A field_names N/A save N/A N/A self N/A args kwargs N/A N/A 
        If this is a new node, sets tree fields up before it is inserted
        into the database, making room in the tree structure as neccessary,
        defaulting to making the new node the last child of its parent.

        It the node's left and right edge indicators already been set, we
        take this as indication that the node has already been set up for
        insertion, so its tree fields are left untouched.

        If this is an existing node and its parent has been changed,
        performs reparenting in the tree structure, defaulting to making the
        node the last child of its new parent.

        In either case, if the node's class has its ``order_insertion_by``
        tree option set, the node will be inserted or moved to the
        appropriate position to maintain ordering by the specified field.
         N/A do_updates N/A N/A self __class__ _mptt_updates_enabled N/A track_updates N/A N/A self __class__ _mptt_is_tracking N/A opts N/A self _mptt_meta N/A N/A N/A do_updates track_updates N/A N/A N/A N/A N/A self _mpttfield left None N/A N/A parent N/A getattr self N/A _%s_cache N/A opts parent_attr None N/A parent N/A N/A left N/A N/A N/A parent _mpttfield left 1 N/A N/A setattr self N/A opts left_attr left N/A N/A setattr self N/A opts right_attr N/A left 1 N/A N/A setattr self N/A opts level_attr N/A N/A N/A parent _mpttfield level 1 N/A N/A setattr self N/A opts tree_id_attr N/A N/A parent _mpttfield tree_id N/A N/A N/A N/A self _tree_manager _post_insert_update_cached_parent_right parent 2 N/A N/A N/A setattr self N/A opts left_attr 1 N/A N/A setattr self N/A opts right_attr 2 N/A N/A setattr self N/A opts level_attr 0 N/A N/A setattr self N/A opts tree_id_attr 0 N/A N/A N/A N/A super MPTTModel self save args kwargs N/A parent_id N/A N/A opts get_raw_field_value self N/A opts parent_attr N/A force_update N/A N/A kwargs get force_update False N/A force_insert N/A N/A kwargs get force_insert False N/A collapse_old_tree None N/A deferred_fields N/A N/A self get_deferred_fields N/A N/A force_update N/A N/A force_insert N/A N/A self _is_saved using N/A N/A kwargs get using N/A N/A old_parent_id N/A N/A self _mptt_cached_fields N/A N/A opts parent_attr N/A N/A old_parent_id DeferredAttribute N/A N/A same_order True N/A N/A same_order N/A old_parent_id parent_id N/A N/A same_order N/A N/A len N/A self _mptt_cached_fields 1 N/A N/A N/A field_name old_value N/A N/A N/A self _mptt_cached_fields items N/A N/A N/A N/A old_value DeferredAttribute N/A field_name deferred_fields N/A N/A same_order False N/A N/A N/A old_value N/A N/A opts get_raw_field_value self field_name N/A N/A same_order False N/A N/A N/A N/A do_updates N/A same_order N/A N/A same_order True N/A N/A N/A N/A self __class__ _mptt_track_tree_modified N/A N/A self _mpttfield tree_id N/A N/A N/A N/A do_updates N/A same_order N/A old_parent_id None N/A N/A collapse_old_tree N/A N/A self _mpttfield tree_id N/A parent N/A getattr self N/A opts parent_attr N/A tree_id N/A N/A parent _mpttfield tree_id N/A left N/A N/A N/A parent _mpttfield left 1 N/A N/A N/A N/A self __class__ _mptt_track_tree_modified tree_id N/A N/A setattr self N/A opts tree_id_attr tree_id N/A N/A setattr self N/A opts left_attr left N/A N/A setattr self N/A opts right_attr N/A left 1 N/A N/A setattr self N/A opts level_attr N/A N/A N/A parent _mpttfield level 1 N/A same_order True N/A N/A same_order N/A N/A N/A N/A opts set_raw_field_value self N/A opts parent_attr old_parent_id N/A N/A N/A right_sibling None N/A N/A opts order_insertion_by N/A N/A right_sibling N/A N/A opts get_ordered_insertion_target self N/A getattr self N/A opts parent_attr N/A N/A parent_id None N/A N/A parent N/A getattr self N/A opts parent_attr N/A update_cached_parent N/A N/A N/A getattr self N/A opts tree_id_attr N/A getattr parent N/A opts tree_id_attr N/A N/A getattr self N/A opts left_attr N/A getattr parent N/A opts left_attr N/A N/A getattr self N/A opts right_attr N/A getattr parent N/A opts right_attr N/A right_sibling N/A N/A N/A N/A N/A self _tree_manager _move_node self right_sibling left save False refresh_target False N/A N/A N/A parent_id None N/A N/A root_nodes N/A N/A N/A self _tree_manager root_nodes N/A N/A N/A rightmost_sibling N/A N/A N/A N/A N/A root_nodes exclude pk N/A self pk order_by N/A - N/A opts tree_id_attr N/A 0 N/A N/A N/A N/A self _tree_manager _move_node self rightmost_sibling right save False refresh_target False N/A N/A N/A IndexError N/A N/A N/A N/A N/A N/A N/A self _tree_manager _move_node self parent last-child save False N/A N/A N/A parent_id None update_cached_parent N/A N/A right_shift N/A 2 N/A N/A N/A self get_descendant_count 1 N/A N/A N/A N/A self _tree_manager _post_insert_update_cached_parent_right parent right_shift N/A N/A N/A N/A opts set_raw_field_value self N/A opts parent_attr parent_id N/A N/A N/A node_moved send sender N/A self __class__ instance self target N/A getattr self N/A opts parent_attr N/A N/A N/A N/A opts set_raw_field_value self N/A opts parent_attr parent_id N/A N/A track_updates N/A N/A N/A N/A len args 3 N/A N/A N/A N/A args N/A 3 N/A N/A args N/A list args N/A N/A args N/A 3 N/A N/A self _get_user_field_names N/A args N/A tuple args N/A N/A N/A N/A N/A kwargs get update_fields None N/A N/A N/A kwargs N/A update_fields N/A N/A self _get_user_field_names N/A N/A N/A N/A getattr self N/A opts left_attr N/A getattr self N/A opts right_attr N/A N/A N/A N/A parent N/A getattr self N/A opts parent_attr N/A right_sibling None N/A N/A do_updates N/A parent None N/A N/A N/A opts order_insertion_by N/A N/A right_sibling N/A N/A opts get_ordered_insertion_target self parent N/A right_sibling N/A N/A N/A N/A self insert_at right_sibling left allow_existing_pk True refresh_target False N/A parent N/A N/A right_shift N/A 2 N/A N/A N/A self get_descendant_count 1 N/A N/A N/A N/A self _tree_manager _post_insert_update_cached_parent_right parent right_shift N/A N/A N/A N/A self insert_at parent position last-child allow_existing_pk True N/A N/A N/A N/A N/A N/A super MPTTModel self save args kwargs N/A N/A N/A collapse_old_tree None N/A N/A N/A N/A N/A self _tree_manager _create_tree_space collapse_old_tree -1 N/A N/A self _mptt_saved True N/A N/A N/A opts update_mptt_cached_fields self N/A N/A N/A save alters_data True delete N/A N/A self N/A args kwargs N/A N/A Calling ``delete`` on a node will delete it as well as its full
        subtree, as opposed to reattaching all the subnodes to its parent node.

        There are no argument specific to a MPTT model, all the arguments will
        be passed directly to the django's ``Model.delete``.

        ``delete`` will not return anything.  N/A tree_width N/A N/A N/A N/A self _mpttfield right N/A N/A self _mpttfield left 1 N/A target_right N/A N/A self _mpttfield right N/A tree_id N/A N/A self _mpttfield tree_id N/A N/A N/A N/A self _tree_manager _close_gap tree_width target_right tree_id N/A parent N/A getattr self N/A _%s_cache N/A N/A self _mptt_meta parent_attr None N/A parent N/A N/A right_shift N/A N/A N/A N/A self get_descendant_count 2 N/A N/A N/A N/A self _tree_manager _post_insert_update_cached_parent_right parent right_shift N/A N/A N/A N/A super MPTTModel self delete args kwargs N/A N/A N/A delete alters_data True _mptt_refresh N/A N/A self N/A N/A N/A N/A N/A self pk N/A N/A N/A manager N/A N/A type self _tree_manager N/A opts N/A self _mptt_meta N/A values N/A N/A N/A N/A N/A manager filter pk N/A self pk values N/A opts left_attr N/A opts right_attr N/A opts level_attr N/A opts tree_id_attr N/A 0 N/A N/A k v N/A N/A values items N/A N/A N/A setattr self k v N/A N/A