Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias If NameLoad body ImportFrom alias Assign NameStore TupleLoad Str Str Str Str Str Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call 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 NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body If CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num body Assign AttributeStore NameLoad attr Dict Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num orelse Assign AttributeStore NameLoad attr Dict Str Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad keyword ListLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad kwarg body Expr Str Assign NameStore Call NameLoad NameLoad If NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Raise Call NameLoad NameLoad AugAssignBitAnd NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignBitAnd AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Assign NameStore BoolOpOr AttributeLoad NameLoad attr Num If BoolOpAnd CompareGtE NameLoad Num CompareGtE AttributeLoad NameLoad attr Num CompareIs AttributeLoad NameLoad attr NameLoad body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr NameLoad Return NameLoad Raise NameLoad Return NameLoad orelse If Call NameLoad NameLoad NameLoad body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Return IfExp CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call NameLoad Dict Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad AugAssignBitAnd AttributeStore NameLoad attr Call NameLoad keyword Dict Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Raise Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Raise Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore NameLoad Assign NameStore NameLoad If BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Raise Call NameLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Str Raise Call NameLoad NameLoad Assign NameStore BoolOpOr NameLoad Dict Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad Call NameLoad NameLoad ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Assign NameStore Str If Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad Call NameLoad NameLoad Raise Call NameLoad BinOpMod NameLoad Call NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad Return BoolOpOr BoolOpAnd NameLoad SubscriptLoad NameLoad Index Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad Return BoolOpOr BoolOpAnd NameLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpOr BoolOpAnd CompareEq AttributeLoad NameLoad attr Num NameLoad AttributeLoad NameLoad attr body Return Num Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore BoolOpAnd AttributeLoad NameLoad attr BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore BoolOpAnd BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad UnaryOpNot NameLoad If NameLoad body Assign NameStore Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num Return NameLoad Assign NameStore BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict For NameStore NameLoad body Assign TupleStore NameStore NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Continue Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad If BoolOpAnd CompareEq NameLoad NameLoad CompareGt Call AttributeLoad Call AttributeLoad NameLoad attr Dict BinOpAdd NameLoad Str NameLoad attr Num body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Continue Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad If CompareEq NameLoad NameLoad body Assign NameStore IfExp CompareIs NameLoad NameLoad Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict BinOpAdd NameLoad Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Dict BinOpAdd NameLoad Str NameLoad attr keyword NameLoad Dict BinOpMod Str NameLoad Num orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Dict BinOpAdd NameLoad Str NameLoad attr keyword NameLoad Dict BinOpMod Str NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad kwarg body Expr Str If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareIn Str NameLoad body If CompareIn Str NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad NameLoad attr attr orelse Assign SubscriptStore NameLoad Index Str Dict Str AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad NameLoad If NameLoad body Return NameLoad orelse If NameLoad body Return SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body If CompareEq Call NameLoad NameLoad Str body Assign NameStore Str Raise Call NameLoad NameLoad Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad kwarg body Expr Str If BoolOpAnd NameLoad NameLoad body Raise Call NameLoad Str If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr TryExcept body If NameLoad body If NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad AttributeLoad NameLoad attr orelse If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Raise Call NameLoad BinOpMod Str NameLoad ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Raise Call NameLoad BinOpMod Str NameLoad If NameLoad body If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr orelse If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str Raise Call NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Dict Str NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body For NameStore NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body For NameStore NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad orelse For NameStore NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad body Assign AttributeStore NameLoad attr Dict Str AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call NameLoad AttributeLoad NameLoad attr NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr IfExp CompareNotEq NameLoad Num NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad NameLoad attr finalbody Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num Assign NameStore NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIn Str NameLoad body For NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num body If BoolOpAnd NameLoad Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call NameLoad ListComp TupleLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call NameLoad ListComp TupleLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore ListLoad Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Dict BinOpAdd Str NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num body Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore ListLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Dict Str Call NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad Call NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Dict NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Assign NameStore Dict If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Dict Str AttributeLoad NameLoad attr If NameLoad body Assign NameStore Dict If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If BoolOpAnd CompareEq NameLoad Str UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad For NameStore TupleLoad Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Break orelse Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str Str If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str AttributeLoad Call NameLoad NameLoad attr Delete SubscriptDel NameLoad Index Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Yield Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str NameLoad BoolOpOr NameLoad Dict Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod Str Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Str For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str body Return AttributeLoad NameLoad attr orelse Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Dict Str AttributeLoad NameLoad attr Dict Str Dict Str Str Str Dict Str BinOpAdd Str NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Return SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod Str Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Str body Return AttributeLoad NameLoad attr orelse Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Dict Str AttributeLoad NameLoad attr Dict Str Dict Str Str Str Dict Str BinOpAdd Str NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Return SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr CompareEq AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body Raise NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse Assign NameStore Str If AttributeLoad NameLoad attr body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Dict Str Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body If BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareIn Str AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Dict Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call Call NameLoad Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore BinOpMod Str Call NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign NameStore Dict For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body If CompareEq Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListComp TupleLoad NameLoad BinOpDiv Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad ListComp TupleLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad ListComp TupleLoad NameLoad BinOpDiv Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body If CompareEq Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore SubscriptLoad ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Slice Num For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad Str attr GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore NameLoad For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad Str attr GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Break handlers ExceptHandler type NameLoad body Pass If UnaryOpNot NameLoad body Raise NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body If UnaryOpNot NameLoad body Continue If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr TupleLoad Str Dict Str Str Continue Assign NameStore AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore AttributeLoad NameLoad attr If CompareIn SubscriptLoad NameLoad Index Num TupleLoad Str Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr Str Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad decorator_list Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Return SubscriptLoad NameLoad Index Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Assign AttributeStore NameLoad attr ListLoad For NameStore BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad ListLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad While CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore UnaryOpNot AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad Str If Call NameLoad NameLoad NameLoad body Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore IfExp NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If NameLoad body Assign NameStore NameLoad orelse If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore CompareIn NameLoad AttributeLoad NameLoad attr orelse Assign NameStore CompareNotIn NameLoad AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad keyword NameLoad Assign NameStore NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore ListComp Call NameLoad NameLoad keyword NameLoad comprehension NameStore NameLoad orelse If AttributeLoad NameLoad attr body ImportFrom alias Assign NameStore AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Break orelse If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return BinOpMod Str AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad Str attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad BinOpAdd Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list
N/A __future__ absolute_import N/A copy N/A itertools N/A operator N/A pprint N/A re N/A warnings bson SON bson.code Code bson json_util N/A pymongo N/A pymongo.errors pymongo.common validate_read_preference mongoengine signals mongoengine.connection get_db mongoengine.context_managers switch_db mongoengine.common _import_class mongoengine.base.common get_document mongoengine.errors OperationError NotUniqueError InvalidQueryError LookUpError mongoengine.python_support IS_PYMONGO_3 mongoengine.queryset transform mongoengine.queryset.field_list QueryFieldList mongoengine.queryset.visitor Q QNode N/A IS_PYMONGO_3 N/A pymongo.collection ReturnDocument N/A __all__ N/A BaseQuerySet DO_NOTHING NULLIFY CASCADE DENY PULL N/A DO_NOTHING 0 N/A NULLIFY 1 N/A CASCADE 2 N/A DENY 3 N/A PULL 4 N/A RE_TYPE N/A type N/A N/A re compile BaseQuerySet N/A object N/A N/A A set of results returned from a query. Wraps a MongoDB cursor,
    providing :class:`~mongoengine.Document` objects as the results.
     N/A __dereference False N/A _auto_dereference True __init__ N/A N/A self document collection N/A N/A N/A N/A self _document document N/A N/A self _collection_obj collection N/A N/A self _mongo_query None N/A N/A self _query_obj N/A Q N/A N/A self _initial_query N/A N/A N/A self _where_clause None N/A N/A self _loaded_fields N/A QueryFieldList N/A N/A self _ordering None N/A N/A self _snapshot False N/A N/A self _timeout True N/A N/A self _class_check True N/A N/A self _slave_okay False N/A N/A self _read_preference None N/A N/A self _iter False N/A N/A self _scalar N/A N/A N/A self _none False N/A N/A self _as_pymongo False N/A N/A self _as_pymongo_coerce False N/A N/A self _search_text None N/A N/A N/A N/A N/A document _meta get allow_inheritance True N/A N/A N/A N/A len N/A N/A self _document _subclasses 1 N/A N/A N/A self _initial_query N/A _cls N/A N/A N/A self _document _subclasses N/A 0 N/A N/A N/A self _initial_query N/A _cls N/A $in N/A N/A self _document _subclasses N/A N/A self _loaded_fields N/A QueryFieldList always_include N/A _cls N/A N/A self _cursor_obj None N/A N/A self _limit None N/A N/A self _skip None N/A N/A self _hint -1 N/A N/A self only_fields N/A N/A N/A self _max_time_ms None N/A __call__ N/A N/A self q_obj class_check read_preference N/A None True None query N/A N/A Filter the selected documents by calling the
        :class:`~mongoengine.queryset.QuerySet` with a query.

        :param q_obj: a :class:`~mongoengine.queryset.Q` object to be used in
            the query; the :class:`~mongoengine.queryset.QuerySet` is filtered
            multiple times with different :class:`~mongoengine.queryset.Q`
            objects, only the last one will be used
        :param class_check: If set to False bypass class name check when
            querying collection
        :param read_preference: if set, overrides connection-level
            read_preference from `ReplicaSetConnection`.
        :param query: Django-style query keyword arguments
         N/A query N/A Q query N/A q_obj N/A N/A N/A N/A isinstance q_obj QNode N/A N/A msg N/A Not a query object: %s. Did you intend to use key=value? q_obj N/A N/A InvalidQueryError msg N/A query q_obj N/A N/A read_preference None N/A N/A queryset N/A N/A self clone N/A N/A queryset N/A N/A self read_preference read_preference N/A N/A queryset _query_obj query N/A N/A queryset _mongo_query None N/A N/A queryset _cursor_obj None N/A N/A queryset _class_check class_check N/A queryset N/A __getitem__ N/A N/A self key N/A N/A N/A Support skip and limit using getitem and slicing syntax.
         N/A queryset N/A N/A self clone N/A N/A isinstance key slice N/A N/A N/A N/A N/A queryset _cursor_obj N/A N/A queryset _cursor N/A key N/A N/A N/A queryset _skip N/A queryset _limit N/A N/A key start N/A key stop N/A N/A N/A key start N/A key stop N/A N/A N/A queryset _limit N/A N/A key stop N/A key start N/A N/A N/A IndexError N/A err N/A N/A start N/A N/A key start 0 N/A N/A N/A start 0 N/A N/A key stop 0 N/A N/A key step None N/A N/A N/A start N/A key stop N/A N/A N/A N/A queryset limit 0 N/A N/A queryset _skip N/A key start N/A N/A queryset _limit N/A N/A key stop start N/A queryset N/A err N/A queryset N/A N/A N/A isinstance key int N/A N/A N/A queryset _scalar N/A N/A N/A N/A queryset _get_scalar N/A N/A N/A queryset _document _from_son N/A N/A queryset _cursor N/A key _auto_dereference N/A self _auto_dereference only_fields N/A self only_fields N/A N/A queryset _as_pymongo N/A N/A N/A N/A queryset _get_as_pymongo N/A N/A queryset _cursor N/A key N/A N/A N/A N/A queryset _document _from_son N/A N/A queryset _cursor N/A key _auto_dereference N/A self _auto_dereference only_fields N/A self only_fields N/A AttributeError N/A __iter__ N/A N/A self N/A N/A N/A NotImplementedError N/A _has_data N/A N/A self N/A N/A N/A  Retrieves whether cursor has any data.  N/A queryset N/A N/A self order_by N/A N/A N/A N/A N/A queryset first None False True N/A __nonzero__ N/A N/A self N/A N/A N/A  Avoid to open all records in an if stmt in Py2.  N/A N/A N/A self _has_data N/A __bool__ N/A N/A self N/A N/A N/A  Avoid to open all records in an if stmt in Py3.  N/A N/A N/A self _has_data N/A all N/A N/A self N/A N/A N/A Returns all documents. N/A N/A N/A self __call__ N/A filter N/A N/A self N/A q_objs query N/A N/A An alias of :meth:`~mongoengine.queryset.QuerySet.__call__`
         N/A N/A N/A self __call__ q_objs query N/A search_text N/A N/A self text language N/A None N/A N/A 
        Start a text search, using text indexes.
        Require: MongoDB server version 2.6+.

        :param language:  The language that determines the list of stop words
            for the search and the rules for the stemmer and tokenizer.
            If not specified, the search uses the default language of the index.
            For supported languages, see
            `Text Search Languages <http://docs.mongodb.org/manual/reference/text-search-languages/#text-search-languages>`.
         N/A queryset N/A N/A self clone N/A N/A queryset _search_text N/A N/A N/A OperationError It is not possible to use search_text two times. N/A query_kwargs N/A SON N/A $search text N/A language N/A N/A N/A query_kwargs N/A $language language N/A N/A queryset _query_obj N/A Q __raw__ N/A $text query_kwargs N/A N/A queryset _mongo_query None N/A N/A queryset _cursor_obj None N/A N/A queryset _search_text text N/A queryset N/A get N/A N/A self N/A q_objs query N/A N/A Retrieve the the matching object raising
        :class:`~mongoengine.queryset.MultipleObjectsReturned` or
        `DocumentName.MultipleObjectsReturned` exception if multiple results
        and :class:`~mongoengine.queryset.DoesNotExist` or
        `DocumentName.DoesNotExist` if no results are found.

        .. versionadded:: 0.3
         N/A queryset N/A N/A self clone N/A queryset N/A N/A N/A N/A queryset order_by limit 2 N/A queryset N/A N/A queryset filter q_objs query N/A N/A N/A result N/A N/A queryset next N/A N/A N/A StopIteration N/A N/A msg N/A %s matching query does not exist. N/A N/A queryset _document _class_name N/A N/A N/A N/A queryset _document DoesNotExist msg N/A N/A N/A N/A N/A queryset next N/A N/A N/A StopIteration N/A N/A result N/A N/A N/A queryset rewind N/A message N/A %d items returned, instead of 1 N/A N/A queryset count N/A N/A N/A N/A queryset _document MultipleObjectsReturned message N/A create N/A N/A self N/A kwargs N/A N/A Create new object. Returns the saved object instance.

        .. versionadded:: 0.4
         N/A N/A N/A N/A N/A self _document kwargs save N/A first N/A N/A self N/A N/A N/A Retrieve the first object matching the query.
         N/A queryset N/A N/A self clone N/A N/A N/A result N/A queryset N/A 0 N/A N/A N/A IndexError N/A N/A result None N/A result N/A insert N/A N/A self doc_or_docs load_bulk write_concern signal_kwargs N/A True None None N/A N/A bulk insert documents

        :param doc_or_docs: a document or list of documents to be inserted
        :param load_bulk (optional): If True returns the list of document
            instances
        :param write_concern: Extra keyword arguments are passed down to
                :meth:`~pymongo.collection.Collection.insert`
                which will be used as options for the resultant
                ``getLastError`` command.  For example,
                ``insert(..., {w: 2, fsync: True})`` will wait until at least
                two servers have recorded the write and will force an fsync on
                each server being written to.
        :parm signal_kwargs: (optional) kwargs dictionary to be passed to
            the signal calls.

        By default returns document instances, set ``load_bulk`` to False to
        return just ``ObjectIds``

        .. versionadded:: 0.5
        .. versionchanged:: 0.10.7
            Add signal_kwargs argument
         N/A Document N/A _import_class Document N/A N/A write_concern None N/A N/A write_concern N/A N/A docs doc_or_docs N/A return_one False N/A N/A N/A isinstance docs Document N/A issubclass N/A docs __class__ Document N/A N/A return_one True N/A docs N/A docs N/A doc docs N/A N/A N/A N/A isinstance doc N/A self _document N/A N/A msg N/A Some documents inserted aren't instances of %s N/A str N/A self _document N/A N/A OperationError msg N/A N/A N/A doc pk N/A N/A doc _created N/A N/A msg Some documents have ObjectIds use doc.update() instead N/A N/A OperationError msg N/A signal_kwargs N/A signal_kwargs N/A N/A N/A N/A N/A signals pre_bulk_insert send N/A self _document documents docs signal_kwargs N/A raw N/A N/A N/A doc to_mongo N/A doc docs N/A N/A N/A ids N/A N/A N/A self _collection insert raw write_concern N/A N/A N/A N/A N/A pymongo errors DuplicateKeyError N/A err N/A N/A message Could not save document (%s) N/A N/A NotUniqueError N/A message N/A unicode err N/A N/A N/A N/A pymongo errors OperationFailure N/A err N/A N/A message Could not save document (%s) N/A N/A N/A re match ^E1100[01] duplicate key N/A unicode err N/A N/A message Tried to save duplicate unique keys (%s) N/A N/A NotUniqueError N/A message N/A unicode err N/A N/A OperationError N/A message N/A unicode err N/A N/A load_bulk N/A N/A N/A N/A N/A signals post_bulk_insert send N/A self _document documents docs loaded False signal_kwargs N/A N/A N/A return_one N/A ids N/A 0 ids N/A documents N/A N/A self in_bulk ids N/A results N/A N/A obj_id ids N/A N/A N/A N/A results append N/A N/A documents get obj_id N/A N/A N/A N/A signals post_bulk_insert send N/A self _document documents results loaded True signal_kwargs N/A N/A N/A return_one N/A results N/A 0 results N/A count N/A N/A self with_limit_and_skip N/A False N/A N/A Count the selected elements in the query.

        :param with_limit_and_skip (optional): take any :meth:`limit` or
            :meth:`skip` that has been applied to this cursor into account when
            getting the count
         N/A N/A N/A N/A N/A self _limit 0 with_limit_and_skip N/A self _none N/A N/A 0 N/A N/A N/A N/A self _cursor count with_limit_and_skip with_limit_and_skip N/A delete N/A N/A self write_concern _from_doc_delete cascade_refs N/A None False None N/A N/A Delete the documents matched by the query.

        :param write_concern: Extra keyword arguments are passed down which
            will be used as options for the resultant
            ``getLastError`` command.  For example,
            ``save(..., write_concern={w: 2, fsync: True}, ...)`` will
            wait until at least two servers have recorded the write and
            will force an fsync on the primary server.
        :param _from_doc_delete: True when called from document delete therefore
            signals will have been triggered so don't loop.

        :returns number of deleted documents
         N/A queryset N/A N/A self clone N/A doc N/A queryset _document N/A N/A write_concern None N/A N/A write_concern N/A N/A has_delete_signal N/A N/A signals signals_available N/A N/A N/A N/A signals pre_delete has_receivers_for N/A self _document N/A N/A N/A signals post_delete has_receivers_for N/A self _document N/A call_document_delete N/A N/A N/A queryset _skip N/A queryset _limit has_delete_signal N/A _from_doc_delete N/A call_document_delete N/A N/A cnt 0 N/A doc queryset N/A N/A N/A N/A doc delete write_concern N/A cnt 1 N/A cnt N/A delete_rules N/A N/A N/A N/A doc _meta get delete_rules N/A N/A rule_entry delete_rules N/A N/A N/A document_cls field_name rule_entry N/A N/A N/A N/A document_cls _meta get abstract N/A N/A N/A rule N/A N/A N/A doc _meta N/A delete_rules N/A rule_entry N/A N/A N/A rule DENY N/A N/A N/A N/A N/A document_cls objects N/A N/A field_name __in self count 0 N/A N/A msg N/A Could not delete document (%s.%s refers to it) N/A N/A document_cls __name__ field_name N/A N/A OperationError msg N/A rule_entry delete_rules N/A N/A N/A document_cls field_name rule_entry N/A N/A N/A N/A document_cls _meta get abstract N/A N/A N/A rule N/A N/A N/A doc _meta N/A delete_rules N/A rule_entry N/A N/A rule CASCADE N/A N/A cascade_refs N/A N/A cascade_refs None N/A set cascade_refs N/A N/A N/A doc _collection N/A document_cls _collection N/A N/A ref queryset N/A N/A N/A N/A cascade_refs add N/A ref id N/A ref_q N/A N/A document_cls objects N/A N/A field_name __in id__nin self cascade_refs N/A ref_q_count N/A N/A ref_q count N/A N/A ref_q_count 0 N/A N/A N/A N/A ref_q delete write_concern write_concern cascade_refs cascade_refs N/A N/A N/A rule NULLIFY N/A N/A N/A N/A N/A N/A document_cls objects N/A N/A field_name __in self update write_concern write_concern N/A N/A unset__%s field_name 1 N/A N/A N/A rule PULL N/A N/A N/A N/A N/A N/A document_cls objects N/A N/A field_name __in self update write_concern write_concern N/A N/A pull_all__%s field_name self N/A result N/A N/A N/A queryset _collection remove N/A queryset _query write_concern N/A result N/A N/A N/A N/A result get n N/A update N/A N/A self upsert multi write_concern full_result N/A False True None False update N/A N/A Perform an atomic update on the fields matched by the query.

        :param upsert: Any existing document with that "_id" is overwritten.
        :param multi: Update multiple documents.
        :param write_concern: Extra keyword arguments are passed down which
            will be used as options for the resultant
            ``getLastError`` command.  For example,
            ``save(..., write_concern={w: 2, fsync: True}, ...)`` will
            wait until at least two servers have recorded the write and
            will force an fsync on the primary server.
        :param full_result: Return the full result rather than just the number
            updated.
        :param update: Django-style update keyword arguments

        .. versionadded:: 0.2
         N/A N/A N/A update N/A upsert N/A N/A N/A OperationError No update parameters, would remove data N/A N/A write_concern None N/A N/A write_concern N/A N/A queryset N/A N/A self clone N/A query N/A queryset _query N/A update N/A N/A transform update N/A queryset _document update N/A N/A upsert N/A _cls query N/A N/A N/A $set update N/A N/A N/A N/A update N/A $set N/A _cls N/A N/A queryset _document _class_name N/A N/A N/A update N/A $set N/A _cls N/A N/A queryset _document _class_name N/A N/A N/A result N/A N/A N/A queryset _collection update query update multi multi upsert upsert write_concern N/A full_result N/A N/A result N/A N/A result N/A N/A N/A result N/A n N/A N/A N/A N/A N/A pymongo errors DuplicateKeyError N/A err N/A N/A N/A NotUniqueError N/A Update failed (%s) N/A unicode err N/A N/A N/A N/A pymongo errors OperationFailure N/A err N/A N/A N/A N/A unicode err multi not coded yet N/A N/A message update() method requires MongoDB 1.1.3+ N/A N/A OperationError message N/A N/A OperationError N/A Update failed (%s) N/A unicode err N/A upsert_one N/A N/A self write_concern N/A None update N/A N/A Overwrite or add the first document matched by the query.

        :param write_concern: Extra keyword arguments are passed down which
            will be used as options for the resultant
            ``getLastError`` command.  For example,
            ``save(..., write_concern={w: 2, fsync: True}, ...)`` will
            wait until at least two servers have recorded the write and
            will force an fsync on the primary server.
        :param update: Django-style update keyword arguments

        :returns the new or overwritten document

        .. versionadded:: 0.10.2
         N/A atomic_update N/A N/A self update multi False upsert True write_concern write_concern full_result True update N/A N/A atomic_update N/A updatedExisting N/A N/A document N/A N/A self get N/A N/A document N/A N/A N/A N/A self _document objects with_id N/A atomic_update N/A upserted N/A document N/A update_one N/A N/A self upsert write_concern N/A False None update N/A N/A Perform an atomic update on the fields of the first document
        matched by the query.

        :param upsert: Any existing document with that "_id" is overwritten.
        :param write_concern: Extra keyword arguments are passed down which
            will be used as options for the resultant
            ``getLastError`` command.  For example,
            ``save(..., write_concern={w: 2, fsync: True}, ...)`` will
            wait until at least two servers have recorded the write and
            will force an fsync on the primary server.
        :param update: Django-style update keyword arguments

        .. versionadded:: 0.2
         N/A N/A N/A self update upsert upsert multi False write_concern write_concern update N/A modify N/A N/A self upsert full_response remove new N/A False False False False update N/A N/A Update and return the updated document.

        Returns either the document before or after modification based on `new`
        parameter. If no documents match the query and `upsert` is false,
        returns ``None``. If upserting and `new` is false, returns ``None``.

        If the full_response parameter is ``True``, the return value will be
        the entire response object from the server, including the 'ok' and
        'lastErrorObject' fields, rather than just the modified document.
        This is useful mainly because the 'lastErrorObject' document holds
        information about the command's execution.

        :param upsert: insert if document doesn't exist (default ``False``)
        :param full_response: return the entire response object from the
            server (default ``False``, not available for PyMongo 3+)
        :param remove: remove rather than updating (default ``False``)
        :param new: return updated rather than original document
            (default ``False``)
        :param update: Django-style update keyword arguments

        .. versionadded:: 0.9
         N/A N/A remove new N/A N/A N/A OperationError Conflicting parameters: remove and new N/A N/A N/A update N/A upsert N/A remove N/A N/A N/A OperationError No update parameters, must either update or remove N/A queryset N/A N/A self clone N/A query N/A queryset _query N/A N/A N/A IS_PYMONGO_3 N/A remove N/A N/A update N/A N/A transform update N/A queryset _document update N/A sort N/A queryset _ordering N/A N/A N/A IS_PYMONGO_3 N/A N/A full_response N/A N/A msg With PyMongo 3+, it is not possible anymore to get the full response. N/A N/A N/A warnings warn msg DeprecationWarning N/A remove N/A N/A result N/A N/A N/A queryset _collection find_one_and_delete query sort sort N/A self _cursor_args N/A N/A new N/A N/A return_doc N/A ReturnDocument AFTER N/A N/A return_doc N/A ReturnDocument BEFORE N/A result N/A N/A N/A queryset _collection find_one_and_update query update upsert upsert sort sort return_document return_doc N/A self _cursor_args N/A N/A result N/A N/A N/A queryset _collection find_and_modify query update upsert upsert sort sort remove remove new new full_response full_response N/A self _cursor_args N/A N/A N/A N/A N/A pymongo errors DuplicateKeyError N/A err N/A N/A N/A NotUniqueError N/A Update failed (%s) err N/A N/A N/A N/A pymongo errors OperationFailure N/A err N/A N/A N/A OperationError N/A Update failed (%s) err N/A full_response N/A N/A N/A N/A result N/A value None N/A N/A N/A result N/A value N/A N/A N/A self _document _from_son N/A result N/A value only_fields N/A self only_fields N/A N/A N/A result None N/A N/A result N/A N/A N/A self _document _from_son result only_fields N/A self only_fields N/A result N/A with_id N/A N/A self object_id N/A N/A N/A Retrieve the object matching the id provided.  Uses `object_id` only
        and raises InvalidQueryError if a filter has been applied. Returns
        `None` if no document exists with that id.

        :param object_id: the value for the id of the document to look up

        .. versionchanged:: 0.6 Raises InvalidQueryError if filter has been set
         N/A queryset N/A N/A self clone N/A N/A N/A N/A queryset _query_obj empty N/A N/A msg Cannot use a filter whilst using `with_id` N/A N/A InvalidQueryError msg N/A N/A N/A N/A N/A queryset filter pk object_id first N/A in_bulk N/A N/A self object_ids N/A N/A N/A Retrieve a set of documents by their ids.

        :param object_ids: a list or tuple of ``ObjectId``\ s
        :rtype: dict of ObjectIds as keys and collection-specific
                Document subclasses as values.

        .. versionadded:: 0.3
         N/A doc_map N/A N/A docs N/A N/A N/A self _collection find N/A _id N/A $in object_ids N/A self _cursor_args N/A N/A self _scalar N/A N/A doc docs N/A N/A N/A doc_map N/A N/A doc N/A _id N/A N/A self _get_scalar N/A N/A N/A self _document _from_son doc only_fields N/A self only_fields N/A N/A N/A self _as_pymongo N/A N/A doc docs N/A N/A N/A doc_map N/A N/A doc N/A _id N/A N/A self _get_as_pymongo doc N/A N/A doc docs N/A N/A N/A doc_map N/A N/A doc N/A _id N/A N/A N/A self _document _from_son doc only_fields N/A self only_fields _auto_dereference N/A self _auto_dereference N/A doc_map N/A none N/A N/A self N/A N/A N/A Helper that just returns a list N/A queryset N/A N/A self clone N/A N/A queryset _none True N/A queryset N/A no_sub_classes N/A N/A self N/A N/A N/A 
        Only return instances of this document and not any inherited documents
         N/A N/A N/A N/A N/A N/A self _document _meta get allow_inheritance True N/A N/A N/A self _initial_query N/A _cls N/A N/A self _document _class_name N/A self N/A using N/A N/A self alias N/A N/A N/A This method is for controlling which database the QuerySet will be
        evaluated against if you are using more than one database.

        :param alias: The database alias

        .. versionadded:: 0.9
         N/A N/A switch_db N/A self _document alias cls N/A N/A collection N/A N/A cls _get_collection N/A N/A N/A self clone_into N/A N/A self __class__ N/A self _document collection N/A clone N/A N/A self N/A N/A N/A Creates a copy of the current
          :class:`~mongoengine.queryset.QuerySet`

        .. versionadded:: 0.5
         N/A N/A N/A self clone_into N/A N/A self __class__ N/A self _document N/A self _collection_obj N/A clone_into N/A N/A self cls N/A N/A N/A Creates a copy of the current
          :class:`~mongoengine.queryset.base.BaseQuerySet` into another child class
         N/A N/A N/A isinstance cls BaseQuerySet N/A N/A N/A OperationError N/A %s is not a subclass of BaseQuerySet N/A cls __name__ N/A copy_props N/A _mongo_query _initial_query _none _query_obj _where_clause _loaded_fields _ordering _snapshot _timeout _class_check _slave_okay _read_preference _iter _scalar _as_pymongo _as_pymongo_coerce _limit _skip _hint _auto_dereference _search_text only_fields _max_time_ms N/A prop copy_props N/A N/A val N/A getattr self prop N/A N/A setattr cls prop N/A N/A copy copy val N/A N/A self _cursor_obj N/A N/A N/A cls _cursor_obj N/A N/A N/A self _cursor_obj clone N/A cls N/A select_related N/A N/A self max_depth N/A 1 N/A N/A Handles dereferencing of :class:`~bson.dbref.DBRef` objects or
        :class:`~bson.object_id.ObjectId` a maximum depth in order to cut down
        the number queries to mongodb.

        .. versionadded:: 0.5
         N/A max_depth 1 N/A queryset N/A N/A self clone N/A N/A N/A queryset _dereference queryset max_depth max_depth N/A limit N/A N/A self n N/A N/A N/A Limit the number of returned documents to `n`. This may also be
        achieved using array-slicing syntax (e.g. ``User.objects[:5]``).

        :param n: the maximum number of objects to return
         N/A queryset N/A N/A self clone N/A N/A queryset _limit N/A N/A n 0 n 1 N/A queryset N/A skip N/A N/A self n N/A N/A N/A Skip `n` documents before returning the results. This may also be
        achieved using array-slicing syntax (e.g. ``User.objects[5:]``).

        :param n: the number of objects to skip before returning results
         N/A queryset N/A N/A self clone N/A N/A queryset _skip n N/A queryset N/A hint N/A N/A self index N/A None N/A N/A Added 'hint' support, telling Mongo the proper index to use for the
        query.

        Judicious use of hints can greatly improve query performance. When
        doing a query on multiple fields (at least one of which is indexed)
        pass the indexed field as a hint to the query.

        Hinting will not do anything if the corresponding index does not exist.
        The last hint applied to this cursor takes precedence over all others.

        .. versionadded:: 0.5
         N/A queryset N/A N/A self clone N/A N/A queryset _hint index N/A queryset N/A distinct N/A N/A self field N/A N/A N/A Return a list of distinct values for a given field.

        :param field: the field to select distinct values from

        .. note:: This is a command and won't take ordering or limit into
           account.

        .. versionadded:: 0.4
        .. versionchanged:: 0.5 - Fixed handling references
        .. versionchanged:: 0.6 - Improved db_field refrence handling
         N/A queryset N/A N/A self clone N/A N/A N/A field N/A N/A N/A N/A self _fields_to_dbfields N/A field pop N/A N/A distinct N/A N/A self _dereference N/A N/A N/A queryset _cursor distinct field 1 name field instance N/A self _document N/A doc_field N/A N/A N/A N/A self _document _fields get N/A N/A N/A field split . 1 N/A 0 N/A instance False N/A EmbeddedDocumentField N/A _import_class EmbeddedDocumentField N/A ListField N/A _import_class ListField N/A GenericEmbeddedDocumentField N/A _import_class GenericEmbeddedDocumentField N/A N/A isinstance doc_field ListField N/A N/A doc_field N/A getattr doc_field field doc_field N/A N/A isinstance doc_field N/A EmbeddedDocumentField GenericEmbeddedDocumentField N/A N/A instance N/A getattr doc_field document_type False N/A N/A . field N/A N/A field_part N/A N/A N/A field split . N/A 1 N/A N/A N/A instance N/A isinstance doc_field N/A EmbeddedDocumentField GenericEmbeddedDocumentField N/A N/A doc_field instance N/A doc_field N/A getattr doc_field field_part doc_field N/A N/A isinstance doc_field ListField N/A N/A doc_field N/A getattr doc_field field doc_field N/A N/A isinstance doc_field N/A EmbeddedDocumentField GenericEmbeddedDocumentField N/A N/A instance N/A getattr doc_field document_type False N/A N/A instance N/A isinstance doc_field N/A EmbeddedDocumentField GenericEmbeddedDocumentField N/A N/A distinct N/A N/A instance doc N/A doc distinct N/A distinct N/A only N/A N/A self N/A fields N/A N/A Load only a subset of this document's fields. ::

            post = BlogPost.objects(...).only("title", "author.name")

        .. note :: `only()` is chainable and will perform a union ::
            So with the following it will fetch both: `title` and `author.name`::

                post = BlogPost.objects.only("title").only("author.name")

        :func:`~mongoengine.queryset.QuerySet.all_fields` will reset any
        field filters.

        :param fields: fields to include

        .. versionadded:: 0.3
        .. versionchanged:: 0.5 - Added subfield support
         N/A fields N/A dict N/A N/A f N/A QueryFieldList ONLY N/A f fields N/A N/A self only_fields N/A N/A fields keys N/A N/A N/A self fields True fields N/A exclude N/A N/A self N/A fields N/A N/A Opposite to .only(), exclude some document's fields. ::

            post = BlogPost.objects(...).exclude("comments")

        .. note :: `exclude()` is chainable and will perform a union ::
            So with the following it will exclude both: `title` and `author.name`::

                post = BlogPost.objects.exclude("title").exclude("author.name")

        :func:`~mongoengine.queryset.QuerySet.all_fields` will reset any
        field filters.

        :param fields: fields to exclude

        .. versionadded:: 0.5
         N/A fields N/A dict N/A N/A f N/A QueryFieldList EXCLUDE N/A f fields N/A N/A N/A self fields fields N/A fields N/A N/A self _only_called N/A False kwargs N/A N/A Manipulate how you load this document's fields.  Used by `.only()`
        and `.exclude()` to manipulate which fields to retrieve.  Fields also
        allows for a greater level of control for example:

        Retrieving a Subrange of Array Elements:

        You can use the $slice operator to retrieve a subrange of elements in
        an array. For example to get the first 5 comments::

            post = BlogPost.objects(...).fields(slice__comments=5)

        :param kwargs: A dictionary identifying what to include

        .. versionadded:: 0.5
         N/A operators N/A slice N/A cleaned_fields N/A N/A N/A key value N/A N/A kwargs items N/A N/A parts N/A N/A key split __ N/A N/A N/A parts N/A 0 operators N/A N/A op N/A N/A parts pop 0 N/A value N/A N/A $ op value N/A key N/A N/A . join parts N/A N/A N/A cleaned_fields append N/A key value N/A fields N/A sorted cleaned_fields key N/A N/A operator itemgetter 1 N/A queryset N/A N/A self clone N/A N/A value group N/A N/A itertools groupby fields N/A N/A N/A x N/A N/A x N/A 1 N/A N/A fields N/A field N/A N/A field value group N/A fields N/A N/A queryset _fields_to_dbfields fields N/A N/A queryset _loaded_fields N/A QueryFieldList fields value value _only_called _only_called N/A queryset N/A all_fields N/A N/A self N/A N/A N/A Include all fields. Reset all previously calls of .only() or
        .exclude(). ::

            post = BlogPost.objects.exclude("comments").all_fields()

        .. versionadded:: 0.5
         N/A queryset N/A N/A self clone N/A N/A queryset _loaded_fields N/A QueryFieldList always_include N/A N/A queryset _loaded_fields always_include N/A queryset N/A order_by N/A N/A self N/A keys N/A N/A Order the :class:`~mongoengine.queryset.QuerySet` by the keys. The
        order may be specified by prepending each of the keys by a + or a -.
        Ascending order is assumed.

        :param keys: fields to order the query results by; keys may be
            prefixed with **+** or **-** to determine the ordering direction
         N/A queryset N/A N/A self clone N/A N/A queryset _ordering N/A N/A queryset _get_order_by keys N/A queryset N/A explain N/A N/A self format N/A False N/A N/A Return an explain plan record for the
        :class:`~mongoengine.queryset.QuerySet`\ 's cursor.

        :param format: format the plan before returning it
         N/A plan N/A N/A N/A self _cursor explain N/A format N/A N/A plan N/A N/A pprint pformat plan N/A plan N/A snapshot N/A N/A self enabled N/A N/A N/A Enable or disable snapshot mode when querying.

        :param enabled: whether or not snapshot mode is enabled

        ..versionchanged:: 0.5 - made chainable
        .. deprecated:: Ignored with PyMongo 3+
         N/A IS_PYMONGO_3 N/A N/A msg snapshot is deprecated as it has no impact when using PyMongo 3+. N/A N/A N/A warnings warn msg DeprecationWarning N/A queryset N/A N/A self clone N/A N/A queryset _snapshot enabled N/A queryset N/A timeout N/A N/A self enabled N/A N/A N/A Enable or disable the default mongod timeout when querying.

        :param enabled: whether or not the timeout is used

        ..versionchanged:: 0.5 - made chainable
         N/A queryset N/A N/A self clone N/A N/A queryset _timeout enabled N/A queryset N/A slave_okay N/A N/A self enabled N/A N/A N/A Enable or disable the slave_okay when querying.

        :param enabled: whether or not the slave_okay is enabled

        .. deprecated:: Ignored with PyMongo 3+
         N/A IS_PYMONGO_3 N/A N/A msg slave_okay is deprecated as it has no impact when using PyMongo 3+. N/A N/A N/A warnings warn msg DeprecationWarning N/A queryset N/A N/A self clone N/A N/A queryset _slave_okay enabled N/A queryset N/A read_preference N/A N/A self read_preference N/A N/A N/A Change the read_preference when querying.

        :param read_preference: override ReplicaSetConnection-level
            preference.
         N/A N/A validate_read_preference read_preference read_preference N/A queryset N/A N/A self clone N/A N/A queryset _read_preference read_preference N/A N/A queryset _cursor_obj None N/A queryset N/A scalar N/A N/A self N/A fields N/A N/A Instead of returning Document instances, return either a specific
        value or a tuple of values in order.

        Can be used along with
        :func:`~mongoengine.queryset.QuerySet.no_dereference` to turn off
        dereferencing.

        .. note:: This effects all results and can be unset by calling
                  ``scalar`` without arguments. Calls ``only`` automatically.

        :param fields: One or more fields to return instead of a Document.
         N/A queryset N/A N/A self clone N/A N/A queryset _scalar N/A list fields N/A fields N/A N/A queryset N/A N/A queryset only fields N/A N/A queryset N/A N/A queryset all_fields N/A queryset N/A values_list N/A N/A self N/A fields N/A N/A An alias for scalar N/A N/A N/A self scalar fields N/A as_pymongo N/A N/A self coerce_types N/A False N/A N/A Instead of returning Document instances, return raw values from
        pymongo.

        :param coerce_types: Field types (if applicable) would be use to
            coerce types.
         N/A queryset N/A N/A self clone N/A N/A queryset _as_pymongo True N/A N/A queryset _as_pymongo_coerce coerce_types N/A queryset N/A max_time_ms N/A N/A self ms N/A N/A N/A Wait `ms` milliseconds before killing the query on the server

        :param ms: the number of milliseconds before killing the query on the server
         N/A N/A N/A self _chainable_method max_time_ms ms N/A to_json N/A N/A self N/A args kwargs N/A N/A Converts a queryset to JSON N/A N/A N/A json_util dumps N/A N/A self as_pymongo args kwargs N/A from_json N/A N/A self json_data N/A N/A N/A Converts json data to unsaved objects N/A son_data N/A N/A json_util loads json_data N/A N/A N/A N/A N/A self _document _from_son data only_fields N/A self only_fields N/A data son_data N/A aggregate N/A N/A self N/A pipeline kwargs N/A N/A 
        Perform a aggregate function based in your queryset params
        :param pipeline: list of aggregation commands,            see: http://docs.mongodb.org/manual/core/aggregation-pipeline/

        .. versionadded:: 0.9
         N/A initial_pipeline N/A N/A N/A self _query N/A N/A N/A N/A initial_pipeline append N/A $match N/A self _query N/A N/A self _ordering N/A N/A N/A N/A initial_pipeline append N/A $sort N/A dict N/A self _ordering N/A N/A N/A self _limit None N/A N/A N/A N/A initial_pipeline append N/A $limit N/A self _limit N/A N/A N/A self _skip None N/A N/A N/A N/A initial_pipeline append N/A $skip N/A self _skip N/A pipeline N/A initial_pipeline N/A list pipeline N/A N/A N/A N/A self _collection aggregate pipeline cursor N/A kwargs N/A map_reduce N/A N/A self map_f reduce_f output finalize_f limit scope N/A None None None N/A N/A Perform a map/reduce query using the current query spec
        and ordering. While ``map_reduce`` respects ``QuerySet`` chaining,
        it must be the last call made, as it does not return a maleable
        ``QuerySet``.

        See the :meth:`~mongoengine.tests.QuerySetTest.test_map_reduce`
        and :meth:`~mongoengine.tests.QuerySetTest.test_map_advanced`
        tests in ``tests.queryset.QuerySetTest`` for usage examples.

        :param map_f: map function, as :class:`~bson.code.Code` or string
        :param reduce_f: reduce function, as
                         :class:`~bson.code.Code` or string
        :param output: output collection name, if set to 'inline' will try to
           use :class:`~pymongo.collection.Collection.inline_map_reduce`
           This can also be a dictionary containing output options
           see: http://docs.mongodb.org/manual/reference/command/mapReduce/#dbcmd.mapReduce
        :param finalize_f: finalize function, an optional function that
                           performs any post-reduction processing.
        :param scope: values to insert into map/reduce global scope. Optional.
        :param limit: number of objects from current query to provide
                      to map/reduce method

        Returns an iterator yielding
        :class:`~mongoengine.document.MapReduceDocument`.

        .. note::

            Map/Reduce changed in server version **>= 1.7.4**. The PyMongo
            :meth:`~pymongo.collection.Collection.map_reduce` helper requires
            PyMongo version **>= 1.11**.

        .. versionchanged:: 0.5
           - removed ``keep_temp`` keyword argument, which was only relevant
             for MongoDB server versions older than 1.7.4

        .. versionadded:: 0.3
         N/A queryset N/A N/A self clone N/A MapReduceDocument N/A _import_class MapReduceDocument N/A N/A N/A hasattr N/A self _collection map_reduce N/A N/A N/A NotImplementedError Requires MongoDB >= 1.7.1 N/A map_f_scope N/A N/A N/A isinstance map_f Code N/A N/A map_f_scope N/A map_f scope N/A map_f N/A unicode map_f N/A map_f N/A Code N/A N/A queryset _sub_js_fields map_f map_f_scope N/A reduce_f_scope N/A N/A N/A isinstance reduce_f Code N/A N/A reduce_f_scope N/A reduce_f scope N/A reduce_f N/A unicode reduce_f N/A reduce_f_code N/A N/A queryset _sub_js_fields reduce_f N/A reduce_f N/A Code reduce_f_code reduce_f_scope N/A mr_args N/A query N/A queryset _query N/A finalize_f N/A N/A finalize_f_scope N/A N/A N/A isinstance finalize_f Code N/A N/A finalize_f_scope N/A finalize_f scope N/A finalize_f N/A unicode finalize_f N/A finalize_f_code N/A N/A queryset _sub_js_fields finalize_f N/A finalize_f N/A Code finalize_f_code finalize_f_scope N/A N/A mr_args N/A finalize finalize_f N/A scope N/A N/A N/A mr_args N/A scope scope N/A limit N/A N/A N/A mr_args N/A limit limit N/A N/A N/A output inline N/A N/A queryset _ordering N/A N/A map_reduce_function inline_map_reduce N/A N/A map_reduce_function map_reduce N/A N/A isinstance output basestring N/A N/A N/A mr_args N/A out output N/A N/A N/A isinstance output dict N/A N/A ordered_output N/A N/A part N/A replace merge reduce N/A N/A value N/A N/A output get part N/A value N/A N/A N/A N/A ordered_output append N/A part value N/A N/A N/A N/A OperationError actionData not specified for output N/A db_alias N/A N/A output get db_alias N/A remaing_args N/A db sharded nonAtomic N/A db_alias N/A N/A N/A N/A ordered_output append N/A db N/A N/A get_db db_alias name N/A N/A remaing_args N/A 0 N/A part remaing_args N/A N/A value N/A N/A output get part N/A value N/A N/A N/A N/A ordered_output append N/A part value N/A N/A mr_args N/A out N/A SON ordered_output N/A results N/A N/A getattr N/A queryset _collection map_reduce_function map_f reduce_f mr_args N/A N/A map_reduce_function map_reduce N/A N/A results N/A N/A results find N/A N/A queryset _ordering N/A N/A results N/A N/A results sort N/A queryset _ordering N/A doc results N/A N/A N/A N/A MapReduceDocument N/A queryset _document N/A queryset _collection N/A doc N/A _id N/A doc N/A value N/A exec_js N/A N/A self code N/A fields options N/A N/A Execute a Javascript function on the server. A list of fields may be
        provided, which will be translated to their correct names and supplied
        as the arguments to the function. A few extra variables are added to
        the function's scope: ``collection``, which is the name of the
        collection in use; ``query``, which is an object representing the
        current query; and ``options``, which is an object containing any
        options specified as keyword arguments.

        As fields in MongoEngine may use different names in the database (set
        using the :attr:`db_field` keyword argument to a :class:`Field`
        constructor), a mechanism exists for replacing MongoEngine field names
        with the database field names in Javascript code. When accessing a
        field, use square-bracket notation, and prefix the MongoEngine field
        name with a tilde (~).

        :param code: a string of Javascript code to execute
        :param fields: fields that you will be using in your function, which
            will be passed in to your function as arguments
        :param options: options that you want available to the function
            (accessed in Javascript through the ``options`` object)
         N/A queryset N/A N/A self clone N/A code N/A N/A queryset _sub_js_fields code N/A fields N/A N/A N/A N/A queryset _document _translate_field_name f N/A f fields N/A collection N/A N/A N/A queryset _document _get_collection_name N/A scope N/A collection options collection N/A options N/A N/A query N/A queryset _query N/A N/A queryset _where_clause N/A N/A N/A query N/A $where N/A queryset _where_clause N/A N/A scope N/A query query N/A code N/A Code code scope scope N/A db N/A N/A N/A queryset _document _get_db N/A N/A N/A db eval code fields N/A where N/A N/A self where_clause N/A N/A N/A Filter ``QuerySet`` results with a ``$where`` clause (a Javascript
        expression). Performs automatic field name substitution like
        :meth:`mongoengine.queryset.Queryset.exec_js`.

        .. note:: When using this mode of query, the database will call your
                  function, or evaluate your predicate clause, for each object
                  in the collection.

        .. versionadded:: 0.5
         N/A queryset N/A N/A self clone N/A where_clause N/A N/A queryset _sub_js_fields where_clause N/A N/A queryset _where_clause where_clause N/A queryset N/A sum N/A N/A self field N/A N/A N/A Sum over the values of the specified field.

        :param field: the field to sum over; use dot-notation to refer to
            embedded document fields

        .. versionchanged:: 0.5 - updated to map_reduce as db.eval doesnt work
            with sharding.
         N/A map_func N/A 
            function() {
                var path = '{{~%(field)s}}'.split('.'),
                field = this;

                for (p in path) {
                    if (typeof field != 'undefined')
                       field = field[path[p]];
                    else
                       break;
                }

                if (field && field.constructor == Array) {
                    field.forEach(function(item) {
                        emit(1, item||0);
                    });
                } else if (typeof field != 'undefined') {
                    emit(1, field||0);
                }
            }
         N/A dict field field N/A reduce_func N/A Code 
            function(key, values) {
                var sum = 0;
                for (var i in values) {
                    sum += values[i];
                }
                return sum;
            }
         N/A result N/A N/A self map_reduce map_func reduce_func output inline N/A N/A N/A result value N/A N/A 0 N/A aggregate_sum N/A N/A self field N/A N/A N/A Sum over the values of the specified field.

        :param field: the field to sum over; use dot-notation to refer to
            embedded document fields

        This method is more performant than the regular `sum`, because it uses
        the aggregation framework instead of map-reduce.
         N/A result N/A N/A N/A N/A N/A self _document _get_collection aggregate N/A N/A $match N/A self _query N/A $group N/A _id total sum N/A $sum N/A $ field N/A IS_PYMONGO_3 N/A N/A result N/A list result N/A N/A result N/A N/A result get result N/A result N/A N/A N/A N/A result N/A 0 N/A total N/A 0 N/A average N/A N/A self field N/A N/A N/A Average over the values of the specified field.

        :param field: the field to average over; use dot-notation to refer to
            embedded document fields

        .. versionchanged:: 0.5 - updated to map_reduce as db.eval doesnt work
            with sharding.
         N/A map_func N/A 
            function() {
                var path = '{{~%(field)s}}'.split('.'),
                field = this;

                for (p in path) {
                    if (typeof field != 'undefined')
                       field = field[path[p]];
                    else
                       break;
                }

                if (field && field.constructor == Array) {
                    field.forEach(function(item) {
                        emit(1, {t: item||0, c: 1});
                    });
                } else if (typeof field != 'undefined') {
                    emit(1, {t: field||0, c: 1});
                }
            }
         N/A dict field field N/A reduce_func N/A Code 
            function(key, values) {
                var out = {t: 0, c: 0};
                for (var i in values) {
                    var value = values[i];
                    out.t += value.t;
                    out.c += value.c;
                }
                return out;
            }
         N/A finalize_func N/A Code 
            function(key, value) {
                return value.t / value.c;
            }
         N/A result N/A N/A self map_reduce map_func reduce_func finalize_f finalize_func output inline N/A N/A N/A result value N/A N/A 0 N/A aggregate_average N/A N/A self field N/A N/A N/A Average over the values of the specified field.

        :param field: the field to average over; use dot-notation to refer to
            embedded document fields

        This method is more performant than the regular `average`, because it
        uses the aggregation framework instead of map-reduce.
         N/A result N/A N/A N/A N/A N/A self _document _get_collection aggregate N/A N/A $match N/A self _query N/A $group N/A _id total avg N/A $avg N/A $ field N/A IS_PYMONGO_3 N/A N/A result N/A list result N/A N/A result N/A N/A result get result N/A result N/A N/A N/A N/A result N/A 0 N/A total N/A 0 N/A item_frequencies N/A N/A self field normalize map_reduce N/A False True N/A N/A Returns a dictionary of all items present in a field across
        the whole queried set of documents, and their corresponding frequency.
        This is useful for generating tag clouds, or searching documents.

        .. note::

            Can only do direct simple mappings and cannot map across
            :class:`~mongoengine.fields.ReferenceField` or
            :class:`~mongoengine.fields.GenericReferenceField` for more complex
            counting a manual map reduce call is required.

        If the field is a :class:`~mongoengine.fields.ListField`, the items within
        each list will be counted individually.

        :param field: the field to use
        :param normalize: normalize the results so they add to 1.0
        :param map_reduce: Use map_reduce over exec_js

        .. versionchanged:: 0.5 defaults to map_reduce and can handle embedded
                            document lookups
         N/A map_reduce N/A N/A N/A N/A self _item_frequencies_map_reduce field normalize normalize N/A N/A N/A self _item_frequencies_exec_js field normalize normalize N/A next N/A N/A self N/A N/A N/A Wrap the result in a :class:`~mongoengine.Document` object.
         N/A N/A N/A N/A self _limit 0 N/A self _none N/A N/A StopIteration N/A raw_doc N/A N/A N/A self _cursor next N/A N/A self _as_pymongo N/A N/A N/A N/A self _get_as_pymongo raw_doc N/A doc N/A N/A N/A self _document _from_son raw_doc _auto_dereference N/A self _auto_dereference only_fields N/A self only_fields N/A N/A self _scalar N/A N/A N/A N/A self _get_scalar doc N/A doc N/A rewind N/A N/A self N/A N/A N/A Rewind the cursor to its unevaluated state.


        .. versionadded:: 0.3
         N/A N/A self _iter False N/A N/A N/A N/A self _cursor rewind N/A _collection N/A N/A self N/A N/A N/A Property that returns the collection object. This allows us to
        perform operations only if the collection is accessed.
         N/A N/A self _collection_obj N/A property _cursor_args N/A N/A self N/A N/A N/A N/A IS_PYMONGO_3 N/A N/A fields_name fields N/A cursor_args N/A timeout snapshot N/A self _timeout N/A self _snapshot N/A N/A N/A self _read_preference None N/A N/A N/A cursor_args N/A read_preference N/A self _read_preference N/A N/A N/A cursor_args N/A slave_okay N/A self _slave_okay N/A N/A fields_name projection N/A N/A self _snapshot N/A N/A msg The snapshot option is not anymore available with PyMongo 3+ N/A N/A N/A warnings warn msg DeprecationWarning N/A cursor_args N/A no_cursor_timeout N/A self _timeout N/A N/A self _loaded_fields N/A N/A N/A cursor_args N/A fields_name N/A N/A N/A self _loaded_fields as_dict N/A N/A self _search_text N/A N/A N/A fields_name cursor_args N/A N/A N/A cursor_args N/A fields_name N/A N/A N/A N/A cursor_args N/A fields_name N/A _text_score N/A $meta textScore N/A cursor_args N/A property _cursor N/A N/A self N/A N/A N/A N/A N/A self _cursor_obj None N/A N/A N/A IS_PYMONGO_3 N/A N/A self _read_preference None N/A N/A N/A self _cursor_obj N/A N/A N/A N/A N/A self _collection with_options read_preference N/A self _read_preference find N/A self _query N/A self _cursor_args N/A N/A N/A self _cursor_obj N/A N/A N/A self _collection find N/A self _query N/A self _cursor_args N/A N/A self _where_clause N/A N/A where_clause N/A N/A self _sub_js_fields N/A self _where_clause N/A N/A N/A N/A self _cursor_obj where where_clause N/A N/A self _ordering N/A N/A N/A N/A N/A self _cursor_obj sort N/A self _ordering N/A N/A N/A N/A N/A self _ordering None N/A N/A N/A self _document _meta N/A ordering N/A N/A order N/A N/A self _get_order_by N/A N/A N/A self _document _meta N/A ordering N/A N/A N/A N/A self _cursor_obj sort order N/A N/A N/A self _limit None N/A N/A N/A N/A N/A self _cursor_obj limit N/A self _limit N/A N/A N/A self _skip None N/A N/A N/A N/A N/A self _cursor_obj skip N/A self _skip N/A N/A N/A self _hint -1 N/A N/A N/A N/A N/A self _cursor_obj hint N/A self _hint N/A N/A self _cursor_obj N/A property __deepcopy__ N/A N/A self memo N/A N/A N/A Essential for chained queries with ReferenceFields involved N/A N/A N/A self clone N/A _query N/A N/A self N/A N/A N/A N/A N/A self _mongo_query None N/A N/A N/A self _mongo_query N/A N/A N/A self _query_obj to_query N/A self _document N/A N/A N/A self _class_check N/A self _initial_query N/A N/A N/A _cls N/A self _mongo_query N/A N/A N/A self _mongo_query N/A $and N/A N/A self _initial_query N/A self _mongo_query N/A N/A N/A N/A N/A self _mongo_query update N/A self _initial_query N/A N/A self _mongo_query N/A property _dereference N/A N/A self N/A N/A N/A N/A N/A self __dereference N/A N/A N/A self __dereference N/A N/A _import_class DeReference N/A N/A self __dereference N/A property no_dereference N/A N/A self N/A N/A N/A Turn off any dereferencing for the results of this queryset.
         N/A queryset N/A N/A self clone N/A N/A queryset _auto_dereference False N/A queryset N/A _item_frequencies_map_reduce N/A N/A self field normalize N/A False N/A N/A map_func N/A 
            function() {
                var path = '{{~%(field)s}}'.split('.');
                var field = this;

                for (p in path) {
                    if (typeof field != 'undefined')
                       field = field[path[p]];
                    else
                       break;
                }
                if (field && field.constructor == Array) {
                    field.forEach(function(item) {
                        emit(item, 1);
                    });
                } else if (typeof field != 'undefined') {
                    emit(field, 1);
                } else {
                    emit(null, 1);
                }
            }
         N/A dict field field N/A reduce_func 
            function(key, values) {
                var total = 0;
                var valuesSize = values.length;
                for (var i=0; i < valuesSize; i++) {
                    total += parseInt(values[i], 10);
                }
                return total;
            }
         N/A values N/A N/A self map_reduce map_func reduce_func inline N/A frequencies N/A N/A f values N/A N/A key N/A f key N/A N/A isinstance key float N/A N/A N/A N/A int key key N/A N/A key N/A int key N/A N/A frequencies N/A key N/A int N/A f value N/A normalize N/A N/A count N/A sum N/A N/A frequencies values N/A frequencies N/A dict N/A N/A k N/A N/A float v count N/A N/A k v N/A N/A frequencies items N/A frequencies N/A _item_frequencies_exec_js N/A N/A self field normalize N/A False N/A N/A Uses exec_js to execute N/A freq_func 
            function(path) {
                var path = path.split('.');

                var total = 0.0;
                db[collection].find(query).forEach(function(doc) {
                    var field = doc;
                    for (p in path) {
                        if (field)
                            field = field[path[p]];
                         else
                            break;
                    }
                    if (field && field.constructor == Array) {
                       total += field.length;
                    } else {
                       total++;
                    }
                });

                var frequencies = {};
                var types = {};
                var inc = 1.0;

                db[collection].find(query).forEach(function(doc) {
                    field = doc;
                    for (p in path) {
                        if (field)
                            field = field[path[p]];
                        else
                            break;
                    }
                    if (field && field.constructor == Array) {
                        field.forEach(function(item) {
                            frequencies[item] = inc + (isNaN(frequencies[item]) ? 0: frequencies[item]);
                        });
                    } else {
                        var item = field;
                        types[item] = item;
                        frequencies[item] = inc + (isNaN(frequencies[item]) ? 0: frequencies[item]);
                    }
                });
                return [total, frequencies, types];
            }
         N/A N/A total data types N/A N/A self exec_js freq_func field N/A values N/A dict N/A N/A N/A N/A types get k N/A int v N/A N/A k v N/A N/A data iteritems N/A normalize N/A N/A values N/A dict N/A N/A k N/A N/A float v total N/A N/A k v N/A N/A values items N/A frequencies N/A N/A N/A k v N/A N/A values iteritems N/A N/A N/A isinstance k float N/A N/A N/A N/A int k k N/A N/A k N/A int k N/A N/A frequencies N/A k v N/A frequencies N/A _fields_to_dbfields N/A N/A self fields N/A N/A N/A Translate fields paths to its db equivalents N/A ret N/A N/A subclasses N/A N/A document N/A self _document N/A N/A N/A document _meta N/A allow_inheritance N/A N/A subclasses N/A N/A N/A get_document x N/A x N/A document _subclasses N/A 1 N/A field fields N/A N/A N/A N/A field N/A N/A . join N/A N/A f db_field N/A f N/A N/A document _lookup_field N/A N/A field split . N/A N/A N/A ret append field N/A N/A N/A LookUpError N/A err N/A N/A found False N/A subdoc subclasses N/A N/A N/A N/A subfield N/A N/A . join N/A N/A f db_field N/A f N/A N/A subdoc _lookup_field N/A N/A field split . N/A N/A N/A ret append subfield N/A found True N/A N/A N/A N/A LookUpError N/A N/A N/A N/A found N/A N/A err N/A ret N/A _get_order_by N/A N/A self keys N/A N/A N/A Creates a list of order by fields
         N/A key_list N/A N/A key keys N/A N/A N/A key N/A N/A N/A N/A key $text_score N/A N/A N/A N/A key_list append N/A _text_score N/A $meta textScore N/A N/A direction N/A pymongo ASCENDING N/A N/A N/A key N/A 0 - N/A N/A direction N/A pymongo DESCENDING N/A N/A N/A key N/A 0 N/A - + N/A N/A key N/A key N/A 1 N/A key N/A N/A key replace __ . N/A N/A N/A key N/A N/A N/A self _document _translate_field_name key N/A N/A N/A Exception N/A N/A N/A N/A N/A key_list append N/A key direction N/A N/A N/A self _cursor_obj key_list N/A N/A N/A N/A N/A self _cursor_obj sort key_list N/A key_list N/A _get_scalar N/A N/A self doc N/A N/A lookup N/A N/A obj name N/A N/A N/A chunks N/A N/A name split __ N/A chunk chunks N/A N/A obj N/A getattr obj chunk N/A obj N/A N/A data N/A N/A lookup doc n N/A n N/A self _scalar N/A N/A N/A len data 1 N/A N/A N/A data N/A 0 N/A N/A tuple data N/A _get_as_pymongo N/A N/A self row N/A N/A N/A N/A N/A getattr self __as_pymongo_fields None N/A N/A N/A self __as_pymongo_fields N/A N/A field N/A N/A N/A self _loaded_fields fields N/A set N/A _cls N/A N/A N/A N/A N/A self __as_pymongo_fields append field N/A N/A . field N/A N/A N/A field _ N/A N/A field rsplit . 1 N/A N/A N/A N/A self __as_pymongo_fields append field N/A all_fields N/A N/A self __as_pymongo_fields clean N/A N/A data path N/A None N/A N/A path N/A path N/A N/A isinstance data dict N/A N/A new_data N/A N/A N/A key value N/A N/A data iteritems N/A N/A new_path N/A path N/A %s.%s N/A path key key N/A all_fields N/A N/A include_field True N/A N/A N/A N/A N/A self _loaded_fields value N/A QueryFieldList ONLY N/A N/A include_field N/A new_path N/A self __as_pymongo_fields N/A N/A include_field N/A new_path N/A self __as_pymongo_fields N/A include_field N/A N/A N/A new_data N/A key N/A clean value path new_path N/A data new_data N/A N/A N/A isinstance data list N/A N/A data N/A N/A clean d path path N/A d data N/A N/A N/A self _as_pymongo_coerce N/A mongoengine.fields EmbeddedDocumentField N/A obj N/A self _document N/A chunk N/A N/A path split . N/A N/A obj N/A getattr obj chunk None N/A N/A obj None N/A N/A N/A N/A N/A isinstance obj EmbeddedDocumentField N/A N/A obj N/A obj document_type N/A N/A obj N/A data None N/A N/A data N/A N/A obj to_python data N/A data N/A N/A N/A clean row N/A _sub_js_fields N/A N/A self code N/A N/A N/A When fields are specified with [~fieldname] syntax, where
        *fieldname* is the Python name of a field, *fieldname* will be
        substituted for the MongoDB name of the field (specified using the
        :attr:`name` keyword argument in a field's constructor).
         field_sub N/A N/A match N/A N/A N/A field_name N/A N/A N/A N/A match group 1 split . N/A fields N/A N/A N/A self _document _lookup_field field_name N/A N/A ["%s"] N/A N/A fields N/A -1 db_field N/A field_path_sub N/A N/A match N/A N/A N/A field_name N/A N/A N/A N/A match group 1 split . N/A fields N/A N/A N/A self _document _lookup_field field_name N/A N/A N/A . join N/A N/A f db_field N/A f fields N/A N/A code N/A N/A re sub \[\s*~([A-z_][A-z_0-9.]+?)\s*\] field_sub code N/A code N/A N/A re sub \{\{\s*~([A-z_][A-z_0-9.]+?)\s*\}\} field_path_sub code N/A code N/A _chainable_method N/A N/A self method_name val N/A N/A N/A queryset N/A N/A self clone N/A method N/A getattr N/A queryset _cursor method_name N/A N/A method val N/A N/A setattr queryset N/A _ method_name val N/A queryset N/A ensure_index N/A N/A self N/A kwargs N/A N/A Deprecated use :func:`Document.ensure_index` N/A msg Doc.objects()._ensure_index() is deprecated. Use Doc.ensure_index() instead. N/A N/A N/A warnings warn msg DeprecationWarning N/A N/A N/A N/A N/A self _document __class__ ensure_index kwargs N/A self N/A _ensure_indexes N/A N/A self N/A N/A N/A Deprecated use :func:`~Document.ensure_indexes` N/A msg Doc.objects()._ensure_indexes() is deprecated. Use Doc.ensure_indexes() instead. N/A N/A N/A warnings warn msg DeprecationWarning N/A N/A N/A N/A N/A self _document __class__ ensure_indexes N/A N/A