Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign SubscriptStore AttributeLoad NameLoad attr Slice Num Num ListLoad Str ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad keyword NameLoad keyword Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str ListLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad NameLoad Index NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call NameLoad keyword Num Expr Call NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call NameLoad BinOpMod Str NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call NameLoad Str keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Dict Str Call NameLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Dict Str Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Dict Str Call NameLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Dict Str Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str keyword ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str keyword ListLoad Str Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call NameLoad NameLoad Expr Call NameLoad Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword NameLoad attr attr attr Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str keyword ListLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str keyword ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad BinOpMod Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Assign NameStore Str Assign NameStore Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse Assign NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Raise Call NameLoad Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Lambda arguments args defaults Call NameLoad GeneratorExp Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr comprehension NameStore NameLoad Str Expr Call NameLoad Lambda arguments args defaults Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad Call NameLoad NameLoad attr attr Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad Call NameLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword BinOpMult Num Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad Call NameLoad NameLoad attr attr Assign NameStore Call NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad Call NameLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Call NameLoad keyword BinOpMult Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Num Assign NameStore Call NameLoad BinOpAdd NameLoad Num FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return SubscriptLoad NameLoad Index Str decorator_list Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call NameLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num keyword Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call NameLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str attr keyword NameLoad SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad orelse Assign NameStore Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Call NameLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareNotIn AttributeLoad NameLoad attr TupleLoad Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad Call NameLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad Call NameLoad NameLoad attr With NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Raise Call NameLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Assign NameStore NameLoad TryExcept body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Dict Str Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num body Raise Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListComp Dict Str NameLoad comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num FunctionDef arguments args defaults body TryExcept body Expr Call NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list Expr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num body Raise Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListComp Dict Str NameLoad comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num FunctionDef arguments args defaults body TryExcept body Expr Call NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list Expr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad keyword Num body Assign NameStore Call NameLoad Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num TupleLoad Str Num With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Dict Str Dict Str Num Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad NameLoad Dict Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword Str keyword Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str Str Num Num AttributeLoad NameLoad attr keyword TupleLoad Str Num decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr If AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad ListLoad TupleLoad Str Dict TupleLoad Str NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Num Num Num FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp Dict comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpLShift Num Num Num Num Num Num AugAssignAdd NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Num Return NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp Dict comprehension NameStore Call NameLoad Num Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list Expr Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Dict Dict Str Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Str decorator_list Expr Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp Dict Str NameLoad comprehension NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list Expr Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Assign SubscriptStore NameLoad Slice ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list Expr Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body With Call NameLoad keyword Num body Assign NameStore Call NameLoad keyword ListLoad keyword ListLoad Str Str Str keyword ListLoad keyword Str keyword Str Expr Call NameLoad Lambda arguments args defaults CompareEq Call NameLoad AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr TupleLoad Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword ListLoad keyword ListLoad Str Str Str keyword ListLoad keyword Str keyword Str Expr Call NameLoad Lambda arguments args defaults CompareEq Call NameLoad AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Num decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call NameLoad keyword Num body Assign NameStore Call NameLoad keyword ListLoad keyword ListLoad Str Str keyword ListLoad keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Num Num Expr Call AttributeLoad NameLoad attr Str Num Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad Lambda arguments args defaults CompareEq Call NameLoad AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr TupleLoad Str Num Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr TupleLoad Str Num Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Dict Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Test the mongo_client module. N/A contextlib N/A datetime N/A os N/A socket N/A struct N/A sys N/A time N/A traceback N/A warnings N/A N/A N/A sys path N/A 0 0 N/A bson BSON bson.codec_options CodecOptions bson.py3compat thread u bson.son SON bson.tz_util utc pymongo auth message pymongo.cursor CursorType pymongo.database Database pymongo.errors AutoReconnect ConfigurationError ConnectionFailure InvalidName OperationFailure CursorNotFound NetworkTimeout InvalidURI pymongo.message _CursorAddress pymongo.mongo_client MongoClient pymongo.pool SocketInfo pymongo.read_preferences ReadPreference pymongo.server_selectors any_server_selector writable_server_selector pymongo.server_type SERVER_TYPE pymongo.write_concern WriteConcern test client_context client_knobs host pair port SkipTest unittest IntegrationTest db_pwd db_user MockClientTest test.pymongo_mocks MockClient test.utils assertRaisesExactly delay remove_all_users server_is_master_with_slave get_pool one connected wait_until rs_or_single_client rs_or_single_client_noauth lazy_client_trial NTHREADS ClientUnitTest N/A N/A unittest TestCase N/A N/A MongoClient tests that don't require a server. setUpClass N/A N/A cls N/A N/A N/A N/A cls client N/A MongoClient host port connect False serverSelectionTimeoutMS 100 N/A classmethod test_keyword_arg_defaults N/A N/A self N/A N/A N/A client N/A MongoClient socketTimeoutMS None connectTimeoutMS 20000 waitQueueTimeoutMS None waitQueueMultiple None socketKeepAlive False replicaSet None read_preference N/A ReadPreference PRIMARY ssl False ssl_keyfile None ssl_certfile None ssl_cert_reqs 0 ssl_ca_certs None connect False serverSelectionTimeoutMS 12000 N/A options N/A client _MongoClient__options N/A pool_opts N/A options pool_options N/A N/A N/A self assertEqual None N/A pool_opts socket_timeout N/A N/A N/A self assertEqual 20.0 N/A pool_opts connect_timeout N/A N/A N/A self assertEqual None N/A pool_opts wait_queue_timeout N/A N/A N/A self assertEqual None N/A pool_opts wait_queue_multiple N/A N/A N/A self assertFalse N/A pool_opts socket_keepalive N/A N/A N/A self assertEqual None N/A pool_opts ssl_context N/A N/A N/A self assertEqual None N/A options replica_set_name N/A N/A N/A self assertEqual N/A ReadPreference PRIMARY N/A client read_preference N/A N/A N/A self assertAlmostEqual 12 N/A client server_selection_timeout N/A test_types N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError MongoClient 1 N/A N/A N/A self assertRaises TypeError MongoClient 1.14 N/A N/A N/A self assertRaises TypeError MongoClient localhost 27017 N/A N/A N/A self assertRaises TypeError MongoClient localhost 1.14 N/A N/A N/A self assertRaises TypeError MongoClient localhost N/A N/A N/A N/A self assertRaises ConfigurationError MongoClient N/A N/A test_max_pool_size_zero N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError N/A N/A N/A MongoClient maxPoolSize 0 N/A test_get_db N/A N/A self N/A N/A make_db N/A N/A base name N/A N/A N/A N/A base N/A name N/A N/A N/A N/A self assertRaises InvalidName make_db N/A self client N/A N/A N/A self assertRaises InvalidName make_db N/A self client te$t N/A N/A N/A self assertRaises InvalidName make_db N/A self client te.t N/A N/A N/A self assertRaises InvalidName make_db N/A self client te\t N/A N/A N/A self assertRaises InvalidName make_db N/A self client te/t N/A N/A N/A self assertRaises InvalidName make_db N/A self client te st N/A N/A N/A self assertTrue N/A isinstance N/A N/A self client test Database N/A N/A N/A self assertEqual N/A N/A self client test N/A N/A self client N/A test N/A N/A N/A self assertEqual N/A N/A self client test N/A Database N/A self client test N/A test_get_database N/A N/A self N/A N/A N/A codec_options N/A CodecOptions tz_aware True N/A write_concern N/A WriteConcern w 2 j True N/A db N/A N/A N/A self client get_database foo codec_options N/A ReadPreference SECONDARY write_concern N/A N/A N/A self assertEqual foo N/A db name N/A N/A N/A self assertEqual codec_options N/A db codec_options N/A N/A N/A self assertEqual N/A ReadPreference SECONDARY N/A db read_preference N/A N/A N/A self assertEqual write_concern N/A db write_concern N/A test_getattr N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A isinstance N/A N/A self client N/A _does_not_exist Database N/A N/A N/A self assertRaises AttributeError context N/A N/A N/A N/A self client _does_not_exist N/A N/A N/A self assertIn has no attribute '_does_not_exist' N/A str N/A context exception N/A test_iteration N/A N/A self N/A N/A iterate N/A N/A N/A N/A N/A N/A a N/A a N/A self client N/A N/A N/A N/A self assertRaises TypeError iterate N/A test_get_default_database N/A N/A self N/A N/A N/A c N/A MongoClient N/A mongodb://%s:%d/foo N/A host port connect False N/A N/A N/A self assertEqual N/A Database c foo N/A N/A c get_default_database N/A test_get_default_database_error N/A N/A self N/A N/A N/A c N/A MongoClient N/A mongodb://%s:%d/ N/A host port connect False N/A N/A N/A self assertRaises ConfigurationError N/A c get_default_database N/A test_get_default_database_with_authsource N/A N/A self N/A N/A N/A uri N/A mongodb://%s:%d/foo?authSource=src N/A host port N/A c N/A MongoClient uri connect False N/A N/A N/A self assertEqual N/A Database c foo N/A N/A c get_default_database N/A N/A TestClient N/A IntegrationTest N/A test_constants N/A N/A self N/A N/A N/A N/A MongoClient HOST somedomainthatdoesntexist.org N/A N/A MongoClient PORT 123456789 N/A N/A N/A self assertRaises AutoReconnect N/A N/A N/A connected N/A MongoClient serverSelectionTimeoutMS 10 N/A N/A connected N/A MongoClient host port N/A N/A MongoClient HOST host N/A N/A MongoClient PORT port N/A N/A connected N/A MongoClient N/A test_init_disconnected N/A N/A self N/A N/A N/A c N/A rs_or_single_client connect False N/A N/A N/A self assertIsInstance N/A c is_primary bool N/A c N/A rs_or_single_client connect False N/A N/A N/A self assertIsInstance N/A c is_mongos bool N/A c N/A rs_or_single_client connect False N/A N/A N/A self assertIsInstance N/A c max_pool_size int N/A N/A N/A self assertIsInstance N/A c nodes frozenset N/A c N/A rs_or_single_client connect False N/A N/A N/A self assertEqual N/A c codec_options N/A CodecOptions N/A N/A N/A self assertIsInstance N/A c max_bson_size int N/A c N/A rs_or_single_client connect False N/A N/A N/A self assertFalse N/A c primary N/A N/A N/A self assertFalse N/A c secondaries N/A c N/A rs_or_single_client connect False N/A N/A N/A self assertIsInstance N/A c max_write_batch_size int N/A N/A client_context is_rs N/A N/A N/A N/A self assertIsNotNone N/A c address N/A N/A N/A N/A self assertEqual N/A c address N/A host port N/A bad_host somedomainthatdoesntexist.org N/A c N/A MongoClient bad_host port connectTimeoutMS 1 serverSelectionTimeoutMS 10 N/A N/A N/A self assertRaises ConnectionFailure N/A N/A N/A c pymongo_test test find_one N/A test_init_disconnected_with_auth N/A N/A self N/A N/A N/A uri mongodb://user:pass@somedomainthatdoesntexist N/A c N/A MongoClient uri connectTimeoutMS 1 serverSelectionTimeoutMS 10 N/A N/A N/A self assertRaises ConnectionFailure N/A N/A N/A c pymongo_test test find_one N/A test_equality N/A N/A self N/A N/A N/A c N/A connected N/A rs_or_single_client N/A N/A N/A self assertEqual N/A client_context rs_or_standalone_client c N/A N/A N/A self assertFalse N/A N/A client_context rs_or_standalone_client c N/A test_host_w_port N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError N/A N/A N/A connected N/A MongoClient N/A %s:1234567 host connectTimeoutMS 1 serverSelectionTimeoutMS 10 N/A test_repr N/A N/A self N/A N/A N/A bson N/A client N/A MongoClient mongodb://localhost:27017,localhost:27018/?replicaSet=replset&connectTimeoutMS=12345 connect False document_class SON N/A the_repr N/A repr client N/A N/A N/A self assertIn MongoClient(host= the_repr N/A N/A N/A self assertIn document_class=bson.son.SON, tz_aware=False, connect=False,  the_repr N/A N/A N/A self assertIn connecttimeoutms='12345' the_repr N/A N/A N/A self assertIn replicaset= the_repr N/A N/A N/A self assertEqual N/A eval the_repr client N/A test_repr_replica_set N/A N/A self N/A N/A N/A N/A N/A self assertIn MongoClient(host=[ N/A repr N/A self client N/A N/A N/A self assertIn pair N/A repr N/A self client N/A N/A client_context require_replica_set test_getters N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A client_context client address N/A host port N/A N/A N/A self assertEqual N/A client_context nodes N/A N/A self client nodes N/A test_database_names N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self client pymongo_test test insert_one N/A dummy N/A u object N/A N/A N/A N/A N/A N/A self client pymongo_test_mike test insert_one N/A dummy N/A u object N/A dbs N/A N/A N/A self client database_names N/A N/A N/A self assertTrue N/A pymongo_test dbs N/A N/A N/A self assertTrue N/A pymongo_test_mike dbs N/A test_drop_database N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError N/A N/A self client drop_database 5 N/A N/A N/A self assertRaises TypeError N/A N/A self client drop_database None N/A N/A N/A N/A N/A N/A self client pymongo_test test insert_one N/A dummy N/A u object N/A N/A N/A N/A N/A N/A self client pymongo_test2 test insert_one N/A dummy N/A u object N/A dbs N/A N/A N/A self client database_names N/A N/A N/A self assertIn pymongo_test dbs N/A N/A N/A self assertIn pymongo_test2 dbs N/A N/A N/A N/A self client drop_database pymongo_test N/A N/A N/A N/A self client drop_database N/A N/A self client pymongo_test2 N/A N/A SkipTest This test often fails due to SERVER-2329 N/A dbs N/A N/A N/A self client database_names N/A N/A N/A self assertNotIn pymongo_test dbs N/A N/A N/A self assertNotIn pymongo_test2 dbs N/A test_close N/A N/A self N/A N/A N/A coll N/A N/A N/A self client pymongo_test bar N/A N/A N/A N/A self client close N/A N/A N/A N/A self client close N/A N/A N/A coll count N/A N/A N/A N/A self client close N/A N/A N/A N/A self client close N/A N/A N/A coll count N/A test_bad_uri N/A N/A self N/A N/A N/A N/A N/A self assertRaises InvalidURI N/A N/A N/A MongoClient http://localhost N/A test_auth_from_uri N/A N/A self N/A N/A N/A N/A N/A N/A N/A self client admin add_user admin pass roles N/A root N/A N/A N/A self addCleanup N/A N/A N/A self client admin remove_user admin N/A N/A N/A self addCleanup remove_all_users N/A N/A self client pymongo_test N/A N/A N/A N/A N/A self client pymongo_test add_user user pass roles N/A userAdmin readWrite N/A N/A N/A self assertRaises OperationFailure N/A N/A N/A connected N/A rs_or_single_client N/A mongodb://a:b@%s:%d N/A host port N/A N/A connected N/A rs_or_single_client_noauth N/A mongodb://admin:pass@%s:%d N/A host port N/A uri N/A mongodb://admin:pass@%s:%d/pymongo_test N/A host port N/A N/A N/A self assertRaises OperationFailure N/A N/A N/A connected N/A rs_or_single_client uri N/A N/A connected N/A rs_or_single_client_noauth N/A mongodb://user:pass@%s:%d/pymongo_test N/A host port N/A N/A N/A N/A N/A N/A rs_or_single_client N/A mongodb://user:pass@%s:%d/pymongo_test N/A host port connect False pymongo_test test find_one N/A bad_client N/A rs_or_single_client N/A mongodb://user:wrong@%s:%d/pymongo_test N/A host port connect False N/A N/A N/A self assertRaises OperationFailure N/A N/A N/A bad_client pymongo_test test find_one N/A N/A client_context require_auth test_multiple_logins N/A N/A self N/A N/A N/A N/A N/A N/A N/A self client pymongo_test add_user user1 pass roles N/A readWrite N/A N/A N/A N/A N/A self client pymongo_test add_user user2 pass roles N/A readWrite N/A N/A N/A self addCleanup remove_all_users N/A N/A self client pymongo_test N/A client N/A rs_or_single_client_noauth N/A mongodb://user1:pass@%s:%d/pymongo_test N/A host port N/A N/A N/A N/A N/A client pymongo_test test find_one N/A N/A N/A self assertRaises OperationFailure N/A N/A N/A N/A N/A client pymongo_test authenticate user2 pass N/A N/A N/A N/A N/A client pymongo_test test find_one N/A N/A N/A N/A client pymongo_test logout N/A N/A N/A self assertRaises OperationFailure N/A N/A N/A N/A N/A N/A client pymongo_test test find_one N/A N/A N/A N/A client pymongo_test authenticate user2 pass N/A N/A N/A N/A N/A client pymongo_test test find_one N/A N/A N/A self assertRaises OperationFailure N/A N/A N/A N/A N/A client pymongo_test authenticate user1 pass N/A N/A N/A N/A N/A client pymongo_test test find_one N/A N/A client_context require_auth test_lazy_auth_raises_operation_failure N/A N/A self N/A N/A N/A lazy_client N/A rs_or_single_client N/A mongodb://user:wrong@%s/pymongo_test host connect False N/A N/A assertRaisesExactly OperationFailure N/A N/A N/A lazy_client test collection find_one N/A N/A client_context require_auth test_unix_socket N/A N/A self N/A N/A N/A N/A N/A hasattr socket AF_UNIX N/A N/A N/A SkipTest UNIX-sockets are not supported on this system N/A mongodb_socket /tmp/mongodb-27017.sock N/A encoded_socket %2Ftmp%2Fmongodb-27017.sock N/A N/A N/A N/A os access mongodb_socket N/A os R_OK N/A N/A N/A SkipTest Socket file is not accessible N/A N/A client_context auth_enabled N/A N/A uri N/A mongodb://%s:%s@%s N/A db_user db_pwd encoded_socket N/A N/A uri N/A mongodb://%s encoded_socket N/A client N/A MongoClient uri N/A N/A N/A N/A N/A client pymongo_test test insert_one N/A dummy object N/A dbs N/A N/A client database_names N/A N/A N/A self assertTrue N/A pymongo_test dbs N/A N/A N/A self assertRaises ConnectionFailure connected N/A MongoClient mongodb://%2Ftmp%2Fnon-existent.sock serverSelectionTimeoutMS 100 N/A test_fork N/A N/A self N/A N/A N/A N/A N/A sys platform win32 N/A N/A N/A SkipTest Can't fork on windows N/A N/A N/A multiprocessing N/A N/A N/A ImportError N/A N/A N/A SkipTest No multiprocessing module N/A db N/A N/A self client pymongo_test N/A N/A N/A N/A db test find_one f N/A N/A pipe N/A N/A N/A N/A N/A kill_cursors_executor N/A N/A self client _kill_cursors_executor N/A servers N/A N/A N/A N/A self client _topology select_servers any_server_selector N/A N/A N/A N/A db test find_one N/A N/A wait_until N/A N/A N/A N/A N/A all N/A N/A N/A N/A N/A N/A s _monitor _executor _thread is_alive N/A s servers restart monitor threads N/A N/A wait_until N/A N/A N/A N/A N/A N/A N/A kill_cursors_executor _thread is_alive restart kill-cursors executor N/A N/A N/A N/A N/A N/A traceback print_exc N/A N/A N/A pipe send True N/A N/A N/A parent_pipe child_pipe N/A N/A multiprocessing Pipe N/A p N/A N/A multiprocessing Process target f args N/A child_pipe N/A N/A N/A p start N/A N/A N/A p join 10 N/A N/A N/A child_pipe close N/A N/A N/A N/A N/A parent_pipe recv N/A N/A N/A self fail N/A N/A N/A EOFError N/A N/A N/A test_document_class N/A N/A self N/A N/A N/A c N/A self client N/A db N/A c pymongo_test N/A N/A N/A N/A db test insert_one N/A x 1 N/A N/A N/A self assertEqual dict N/A N/A c codec_options document_class N/A N/A N/A self assertTrue N/A isinstance N/A N/A N/A db test find_one dict N/A N/A N/A self assertFalse N/A isinstance N/A N/A N/A db test find_one SON N/A c N/A rs_or_single_client document_class SON N/A db N/A c pymongo_test N/A N/A N/A self assertEqual SON N/A N/A c codec_options document_class N/A N/A N/A self assertTrue N/A isinstance N/A N/A N/A db test find_one SON N/A test_timeouts N/A N/A self N/A N/A N/A client N/A rs_or_single_client connectTimeoutMS 10500 N/A N/A N/A self assertEqual 10.5 N/A N/A N/A get_pool client opts connect_timeout N/A client N/A rs_or_single_client socketTimeoutMS 10500 N/A N/A N/A self assertEqual 10.5 N/A N/A N/A get_pool client opts socket_timeout N/A test_socket_timeout_ms_validation N/A N/A self N/A N/A N/A c N/A rs_or_single_client socketTimeoutMS N/A 10 1000 N/A N/A N/A self assertEqual 10 N/A N/A N/A get_pool c opts socket_timeout N/A c N/A connected N/A rs_or_single_client socketTimeoutMS None N/A N/A N/A self assertEqual None N/A N/A N/A get_pool c opts socket_timeout N/A N/A N/A self assertRaises ValueError rs_or_single_client socketTimeoutMS 0 N/A N/A N/A self assertRaises ValueError rs_or_single_client socketTimeoutMS -1 N/A N/A N/A self assertRaises ValueError rs_or_single_client socketTimeoutMS 10000000000.0 N/A N/A N/A self assertRaises ValueError rs_or_single_client socketTimeoutMS foo N/A test_socket_timeout N/A N/A self N/A N/A N/A no_timeout N/A self client N/A timeout_sec 1 N/A timeout N/A rs_or_single_client socketTimeoutMS N/A 1000 timeout_sec N/A N/A N/A N/A no_timeout pymongo_test drop_collection test N/A N/A N/A N/A N/A no_timeout pymongo_test test insert_one N/A x 1 N/A where_func N/A delay N/A timeout_sec 1 get_x N/A N/A db N/A N/A N/A doc N/A next N/A N/A N/A N/A N/A db test find where where_func N/A N/A doc N/A x N/A N/A N/A N/A self assertEqual 1 N/A get_x N/A no_timeout pymongo_test N/A N/A N/A self assertRaises NetworkTimeout get_x N/A timeout pymongo_test N/A test_server_selection_timeout N/A N/A self N/A N/A N/A client N/A MongoClient serverSelectionTimeoutMS 100 connect False N/A N/A N/A self assertAlmostEqual 0.1 N/A client server_selection_timeout N/A client N/A MongoClient serverSelectionTimeoutMS 0 connect False N/A N/A N/A self assertAlmostEqual 0 N/A client server_selection_timeout N/A N/A N/A self assertRaises ValueError MongoClient serverSelectionTimeoutMS foo connect False N/A N/A N/A self assertRaises ValueError MongoClient serverSelectionTimeoutMS -1 connect False N/A N/A N/A self assertRaises ConfigurationError MongoClient serverSelectionTimeoutMS None connect False N/A client N/A MongoClient mongodb://localhost/?serverSelectionTimeoutMS=100 connect False N/A N/A N/A self assertAlmostEqual 0.1 N/A client server_selection_timeout N/A client N/A MongoClient mongodb://localhost/?serverSelectionTimeoutMS=0 connect False N/A N/A N/A self assertAlmostEqual 0 N/A client server_selection_timeout N/A client N/A MongoClient mongodb://localhost/?serverSelectionTimeoutMS=-1 connect False N/A N/A N/A self assertAlmostEqual 30 N/A client server_selection_timeout N/A client N/A MongoClient mongodb://localhost/?serverSelectionTimeoutMS= connect False N/A N/A N/A self assertAlmostEqual 30 N/A client server_selection_timeout N/A test_waitQueueTimeoutMS N/A N/A self N/A N/A N/A client N/A rs_or_single_client waitQueueTimeoutMS 2000 N/A N/A N/A self assertEqual N/A N/A N/A get_pool client opts wait_queue_timeout 2 N/A test_waitQueueMultiple N/A N/A self N/A N/A N/A client N/A rs_or_single_client maxPoolSize 3 waitQueueMultiple 2 N/A pool N/A get_pool client N/A N/A N/A self assertEqual N/A N/A pool opts wait_queue_multiple 2 N/A N/A N/A self assertEqual N/A N/A N/A pool _socket_semaphore waiter_semaphore counter 6 N/A test_socketKeepAlive N/A N/A self N/A N/A N/A client N/A rs_or_single_client socketKeepAlive True N/A N/A N/A self assertTrue N/A N/A N/A get_pool client opts socket_keepalive N/A test_tz_aware N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError MongoClient tz_aware foo N/A aware N/A rs_or_single_client tz_aware True N/A naive N/A self client N/A N/A N/A N/A aware pymongo_test drop_collection test N/A now N/A N/A N/A datetime datetime utcnow N/A N/A N/A N/A N/A aware pymongo_test test insert_one N/A x now N/A N/A N/A self assertEqual None N/A N/A N/A N/A N/A N/A naive pymongo_test test find_one N/A x tzinfo N/A N/A N/A self assertEqual utc N/A N/A N/A N/A N/A N/A aware pymongo_test test find_one N/A x tzinfo N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A aware pymongo_test test find_one N/A x replace tzinfo None N/A N/A N/A N/A N/A naive pymongo_test test find_one N/A x N/A test_ipv6 N/A N/A self N/A N/A N/A N/A client_context auth_enabled N/A N/A auth_str N/A %s:%s@ N/A db_user db_pwd N/A N/A auth_str N/A uri N/A mongodb://%s[::1]:%d N/A auth_str port N/A N/A client_context is_rs N/A N/A uri N/A /?replicaSet= N/A client_context replica_set_name N/A client N/A rs_or_single_client_noauth uri N/A N/A N/A N/A N/A client pymongo_test test insert_one N/A dummy N/A u object N/A N/A N/A N/A N/A client pymongo_test_bernie test insert_one N/A dummy N/A u object N/A dbs N/A N/A client database_names N/A N/A N/A self assertTrue N/A pymongo_test dbs N/A N/A N/A self assertTrue N/A pymongo_test_bernie dbs N/A N/A client_context require_ipv6 test_fsync_lock_unlock N/A N/A self N/A N/A N/A N/A N/A server_is_master_with_slave N/A client_context client N/A N/A N/A client_context version at_least 2 3 0 N/A N/A N/A SkipTest SERVER-7714 N/A N/A N/A self assertFalse N/A N/A self client is_locked N/A N/A N/A sys platform N/A cygwin win32 N/A N/A N/A N/A N/A self client fsync async True N/A N/A N/A self assertFalse N/A N/A self client is_locked N/A N/A N/A N/A self client fsync lock True N/A N/A N/A self assertTrue N/A N/A self client is_locked N/A locked True N/A N/A N/A N/A self client unlock N/A _ N/A range 5 N/A N/A locked N/A N/A self client is_locked N/A N/A locked N/A N/A N/A N/A N/A time sleep 1 N/A N/A N/A self assertFalse locked N/A N/A client_context require_no_mongos test_contextlib N/A N/A self N/A N/A N/A client N/A rs_or_single_client N/A N/A N/A N/A client pymongo_test drop_collection test N/A N/A N/A N/A N/A client pymongo_test test insert_one N/A foo bar N/A N/A N/A self assertEqual 1 N/A len N/A N/A get_pool client sockets N/A N/A N/A contextlib closing client N/A N/A N/A N/A self assertEqual bar N/A N/A N/A N/A N/A client pymongo_test test find_one N/A foo N/A N/A N/A self assertEqual 1 N/A len N/A N/A get_pool client sockets N/A N/A N/A self assertEqual 0 N/A len N/A N/A get_pool client sockets N/A client client N/A N/A N/A N/A self assertEqual bar N/A N/A N/A N/A N/A client pymongo_test test find_one N/A foo N/A N/A N/A self assertEqual 0 N/A len N/A N/A get_pool client sockets N/A test_interrupt_signal N/A N/A self N/A N/A N/A N/A N/A N/A sys platform startswith java N/A N/A N/A SkipTest Can't test interrupts in Jython N/A db N/A N/A self client pymongo_test N/A where N/A delay 1.5 N/A N/A N/A db drop_collection foo N/A N/A N/A N/A db foo insert_one N/A _id 1 interrupter N/A N/A N/A N/A N/A N/A N/A time sleep 0.25 N/A N/A N/A thread interrupt_main N/A N/A N/A N/A thread start_new_thread interrupter N/A N/A raised False N/A N/A N/A N/A next N/A N/A N/A db foo find N/A $where where N/A N/A N/A KeyboardInterrupt N/A N/A raised True N/A N/A N/A self assertTrue raised Didn't raise expected KeyboardInterrupt N/A N/A N/A self assertEqual N/A _id 1 N/A next N/A N/A N/A db foo find N/A test_operation_failure N/A N/A self N/A N/A N/A pool N/A get_pool N/A self client N/A socket_count N/A len N/A pool sockets N/A N/A N/A self assertGreaterEqual socket_count 1 N/A old_sock_info N/A next N/A iter N/A pool sockets N/A N/A N/A N/A N/A N/A self client pymongo_test test drop N/A N/A N/A N/A N/A N/A self client pymongo_test test insert_one N/A _id foo N/A N/A N/A self assertRaises OperationFailure N/A N/A N/A N/A self client pymongo_test test insert_one N/A _id foo N/A N/A N/A self assertEqual socket_count N/A len N/A pool sockets N/A new_sock_info N/A next N/A iter N/A pool sockets N/A N/A N/A self assertEqual old_sock_info new_sock_info N/A test_kill_cursors_with_cursoraddress N/A N/A self N/A N/A N/A N/A N/A client_context is_mongos N/A N/A N/A N/A client_context version at_least 2 4 7 N/A N/A N/A SkipTest Can't test kill_cursors against old mongos N/A N/A self collection N/A N/A N/A self client pymongo_test test N/A N/A N/A N/A self collection drop N/A N/A N/A N/A self collection insert_many N/A N/A _id i N/A i N/A range 200 N/A cursor N/A N/A N/A N/A N/A self collection find batch_size 1 N/A N/A next cursor N/A N/A N/A N/A self client kill_cursors N/A N/A cursor cursor_id N/A _CursorAddress N/A N/A self client address N/A N/A self collection full_name N/A N/A N/A time sleep 2 raises_cursor_not_found N/A N/A N/A N/A N/A N/A N/A N/A next cursor N/A False N/A N/A N/A CursorNotFound N/A N/A True N/A N/A N/A wait_until raises_cursor_not_found close cursor N/A test_kill_cursors_with_tuple N/A N/A self N/A N/A N/A N/A N/A client_context is_mongos N/A N/A N/A N/A client_context version at_least 2 4 7 N/A N/A N/A SkipTest Can't test kill_cursors against old mongos N/A N/A self collection N/A N/A N/A self client pymongo_test test N/A N/A N/A N/A self collection drop N/A N/A N/A N/A self collection insert_many N/A N/A _id i N/A i N/A range 200 N/A cursor N/A N/A N/A N/A N/A self collection find batch_size 1 N/A N/A next cursor N/A N/A N/A N/A self client kill_cursors N/A N/A cursor cursor_id N/A N/A self client address N/A N/A N/A time sleep 2 raises_cursor_not_found N/A N/A N/A N/A N/A N/A N/A N/A next cursor N/A False N/A N/A N/A CursorNotFound N/A N/A True N/A N/A N/A wait_until raises_cursor_not_found close cursor N/A test_kill_cursors_with_server_unavailable N/A N/A self N/A N/A N/A N/A client_knobs kill_cursor_frequency 9999999 N/A N/A client N/A MongoClient doesnt exist connect False serverSelectionTimeoutMS 0 N/A N/A N/A time sleep 1 N/A N/A N/A client close_cursor 1234 N/A doesnt-exist 27017 N/A N/A N/A warnings catch_warnings record True user_warnings N/A N/A N/A N/A client _process_kill_cursors_queue N/A N/A N/A self assertIn couldn't close cursor on ('doesnt-exist', 27017) N/A str N/A N/A user_warnings N/A 0 message N/A test_lazy_connect_w0 N/A N/A self N/A N/A N/A client N/A rs_or_single_client connect False w 0 N/A N/A N/A N/A N/A client test_lazy_connect_w0 test insert_one N/A N/A client N/A rs_or_single_client connect False N/A N/A N/A N/A N/A client test_lazy_connect_w0 test update_one N/A N/A $set N/A x 1 N/A client N/A rs_or_single_client connect False N/A N/A N/A N/A N/A client test_lazy_connect_w0 test delete_one N/A N/A test_exhaust_network_error N/A N/A self N/A N/A N/A client N/A rs_or_single_client maxPoolSize 1 N/A collection N/A N/A client pymongo_test test N/A pool N/A get_pool client N/A N/A pool _check_interval_seconds None N/A N/A connected client N/A sock_info N/A one N/A pool sockets N/A N/A N/A N/A sock_info sock close N/A cursor N/A N/A collection find cursor_type N/A CursorType EXHAUST N/A N/A N/A self assertRaises ConnectionFailure N/A N/A N/A next cursor N/A N/A N/A self assertTrue N/A sock_info closed N/A N/A N/A self assertTrue N/A N/A N/A pool _socket_semaphore acquire blocking False N/A N/A client_context require_no_mongos test_auth_network_error N/A N/A self N/A N/A N/A c N/A connected N/A rs_or_single_client maxPoolSize 1 waitQueueTimeoutMS 1 N/A credentials N/A N/A auth _build_credentials_tuple DEFAULT admin db_user db_pwd N/A N/A N/A N/A c _cache_credentials test credentials connect False N/A pool N/A get_pool c N/A socket_info N/A one N/A pool sockets N/A N/A N/A N/A socket_info sock close N/A N/A N/A self assertRaises AutoReconnect N/A N/A N/A c test collection find_one N/A N/A N/A N/A N/A c test collection find_one N/A N/A client_context require_auth test_connect_to_standalone_using_replica_set_name N/A N/A self N/A N/A N/A client N/A MongoClient pair replicaSet anything serverSelectionTimeoutMS 100 N/A N/A N/A self assertRaises AutoReconnect N/A N/A N/A N/A N/A N/A client test test find_one N/A N/A client_context require_no_replica_set test_stale_getmore N/A N/A self N/A N/A N/A N/A N/A self assertRaises AutoReconnect N/A N/A client N/A MongoClient host port connect False serverSelectionTimeoutMS 100 replicaSet N/A client_context replica_set_name N/A N/A N/A client _send_message_with_response operation N/A N/A message _GetMore pymongo_test collection 101 1234 N/A client codec_options address N/A not-a-member 27017 N/A N/A client_context require_replica_set N/A TestExhaustCursor N/A IntegrationTest N/A N/A Test that clients properly handle errors from exhaust cursors. setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestExhaustCursor self setUp N/A N/A client_context is_mongos N/A N/A N/A SkipTest mongos doesn't support exhaust, SERVER-2627 N/A test_exhaust_query_server_error N/A N/A self N/A N/A N/A client N/A connected N/A rs_or_single_client maxPoolSize 1 N/A collection N/A N/A client pymongo_test test N/A pool N/A get_pool client N/A sock_info N/A one N/A pool sockets N/A cursor N/A N/A collection find N/A SON N/A N/A $query N/A N/A $orderby True cursor_type N/A CursorType EXHAUST N/A N/A N/A self assertRaises OperationFailure N/A cursor next N/A N/A N/A self assertFalse N/A sock_info closed N/A N/A N/A self assertIn sock_info N/A pool sockets N/A N/A N/A self assertTrue N/A N/A N/A pool _socket_semaphore acquire blocking False N/A N/A N/A client_context require_version_min 2 2 0 test_exhaust_getmore_server_error N/A N/A self N/A N/A N/A client N/A rs_or_single_client maxPoolSize 1 N/A collection N/A N/A client pymongo_test test N/A N/A N/A collection drop N/A N/A N/A collection insert_many N/A N/A N/A _ N/A range 200 N/A N/A N/A self addCleanup N/A N/A N/A N/A client_context client pymongo_test test drop N/A pool N/A get_pool client N/A N/A pool _check_interval_seconds None N/A sock_info N/A one N/A pool sockets N/A cursor N/A N/A collection find cursor_type N/A CursorType EXHAUST N/A N/A N/A cursor next receive_message N/A N/A operation request_id N/A N/A N/A N/A N/A SocketInfo receive_message sock_info operation request_id N/A msg N/A N/A struct pack <iiiii N/A 1 1 0 0 0 0 N/A msg N/A N/A BSON encode N/A $err code mock err 0 N/A msg N/A N/A saved N/A sock_info receive_message N/A N/A sock_info receive_message receive_message N/A N/A N/A self assertRaises OperationFailure list cursor N/A N/A sock_info receive_message saved N/A N/A N/A self assertEqual 200 N/A N/A collection count N/A N/A N/A self assertIn sock_info N/A pool sockets N/A test_exhaust_query_network_error N/A N/A self N/A N/A N/A client N/A connected N/A rs_or_single_client maxPoolSize 1 N/A collection N/A N/A client pymongo_test test N/A pool N/A get_pool client N/A N/A pool _check_interval_seconds None N/A sock_info N/A one N/A pool sockets N/A N/A N/A N/A sock_info sock close N/A cursor N/A N/A collection find cursor_type N/A CursorType EXHAUST N/A N/A N/A self assertRaises ConnectionFailure N/A cursor next N/A N/A N/A self assertTrue N/A sock_info closed N/A N/A N/A self assertNotIn sock_info N/A pool sockets N/A N/A N/A self assertTrue N/A N/A N/A pool _socket_semaphore acquire blocking False N/A test_exhaust_getmore_network_error N/A N/A self N/A N/A N/A client N/A rs_or_single_client maxPoolSize 1 N/A collection N/A N/A client pymongo_test test N/A N/A N/A collection drop N/A N/A N/A collection insert_many N/A N/A N/A _ N/A range 200 N/A pool N/A get_pool client N/A N/A pool _check_interval_seconds None N/A cursor N/A N/A collection find cursor_type N/A CursorType EXHAUST N/A N/A N/A cursor next N/A sock_info N/A N/A cursor _Cursor__exhaust_mgr sock N/A N/A N/A N/A sock_info sock close N/A N/A N/A self assertRaises ConnectionFailure list cursor N/A N/A N/A self assertTrue N/A sock_info closed N/A N/A N/A self assertNotIn sock_info N/A pool sockets N/A N/A N/A self assertTrue N/A N/A N/A pool _socket_semaphore acquire blocking False N/A N/A TestClientLazyConnect N/A IntegrationTest N/A N/A Test concurrent operations on a lazily-connecting MongoClient. _get_client N/A N/A self N/A N/A N/A N/A rs_or_single_client connect False N/A test_insert_one N/A N/A self N/A N/A reset N/A N/A collection N/A N/A N/A N/A N/A collection drop N/A insert_one N/A N/A collection _ N/A N/A N/A N/A N/A collection insert_one N/A N/A test N/A N/A collection N/A N/A N/A N/A N/A self assertEqual NTHREADS N/A N/A collection count N/A N/A N/A lazy_client_trial reset insert_one test N/A self _get_client N/A test_update_one N/A N/A self N/A N/A reset N/A N/A collection N/A N/A N/A N/A N/A collection drop N/A N/A N/A collection insert_one N/A i 0 N/A update_one N/A N/A collection _ N/A N/A N/A N/A N/A collection update_one N/A N/A $inc N/A i 1 N/A test N/A N/A collection N/A N/A N/A N/A N/A self assertEqual NTHREADS N/A N/A N/A collection find_one N/A i N/A N/A N/A lazy_client_trial reset update_one test N/A self _get_client N/A test_delete_one N/A N/A self N/A N/A reset N/A N/A collection N/A N/A N/A N/A N/A collection drop N/A N/A N/A collection insert_many N/A N/A i i N/A i N/A range NTHREADS N/A delete_one N/A N/A collection i N/A N/A N/A N/A N/A collection delete_one N/A i i N/A test N/A N/A collection N/A N/A N/A N/A N/A self assertEqual 0 N/A N/A collection count N/A N/A N/A lazy_client_trial reset delete_one test N/A self _get_client N/A test_find_one N/A N/A self N/A N/A N/A results N/A reset N/A N/A collection N/A N/A N/A N/A N/A collection drop N/A N/A N/A collection insert_one N/A N/A N/A results N/A N/A N/A find_one N/A N/A collection _ N/A N/A N/A N/A N/A results append N/A N/A collection find_one N/A test N/A N/A collection N/A N/A N/A N/A N/A self assertEqual NTHREADS N/A len results N/A N/A N/A lazy_client_trial reset find_one test N/A self _get_client N/A test_max_bson_size N/A N/A self N/A N/A N/A c N/A N/A self _get_client N/A ismaster N/A N/A N/A c db command ismaster N/A N/A N/A self assertEqual N/A ismaster N/A maxBsonObjectSize N/A c max_bson_size N/A N/A maxMessageSizeBytes ismaster N/A N/A N/A N/A self assertEqual N/A ismaster N/A maxMessageSizeBytes N/A c max_message_size N/A N/A TestMongoClientFailover N/A MockClientTest N/A test_discover_primary N/A N/A self N/A N/A N/A N/A client_knobs heartbeat_frequency 999999 N/A N/A c N/A MockClient standalones N/A members N/A a:1 b:2 c:3 mongoses N/A host b:2 replicaSet rs N/A N/A wait_until N/A N/A N/A N/A N/A N/A len N/A c nodes 3 connect N/A N/A N/A self assertEqual N/A c address N/A a 1 N/A N/A N/A c kill_host a:1 N/A N/A c mock_primary b:2 N/A N/A N/A c close N/A N/A N/A self assertEqual 0 N/A len N/A c nodes N/A t N/A N/A c _get_topology N/A N/A N/A t select_servers writable_server_selector N/A N/A N/A self assertEqual N/A c address N/A b 2 N/A N/A N/A self assertLess N/A len N/A c nodes 3 N/A N/A N/A t select_server_by_address N/A c 3 N/A test_reconnect N/A N/A self N/A N/A N/A c N/A MockClient standalones N/A members N/A a:1 b:2 c:3 mongoses N/A host b:2 replicaSet rs N/A N/A wait_until N/A N/A N/A N/A N/A N/A len N/A c nodes 3 connect N/A N/A N/A c kill_host a:1 N/A N/A N/A c kill_host b:2 N/A N/A N/A c kill_host c:3 N/A N/A N/A self assertRaises AutoReconnect N/A N/A N/A c db collection find_one N/A N/A N/A c revive_host a:1 N/A N/A N/A N/A N/A c _get_topology select_servers writable_server_selector N/A N/A N/A self assertEqual N/A c address N/A a 1 N/A _test_network_error N/A N/A self operation_callback N/A N/A N/A N/A client_knobs heartbeat_frequency 999999 N/A N/A c N/A MockClient standalones N/A members N/A a:1 b:2 mongoses N/A host a:1 replicaSet rs connect False N/A N/A N/A c set_wire_version_range a:1 0 1 N/A N/A N/A c set_wire_version_range b:2 0 2 N/A N/A N/A N/A N/A c _get_topology select_servers writable_server_selector N/A N/A wait_until N/A N/A N/A N/A N/A N/A len N/A c nodes 2 connect N/A N/A N/A c kill_host a:1 N/A N/A N/A self assertRaises AutoReconnect operation_callback c N/A server_a N/A N/A N/A N/A c _get_topology get_server_by_address N/A a 1 N/A sd_a N/A server_a description N/A N/A N/A self assertEqual N/A SERVER_TYPE Unknown N/A sd_a server_type N/A N/A N/A self assertEqual 0 N/A sd_a min_wire_version N/A N/A N/A self assertEqual 0 N/A sd_a max_wire_version N/A server_b N/A N/A N/A N/A c _get_topology get_server_by_address N/A b 2 N/A sd_b N/A server_b description N/A N/A N/A self assertEqual N/A SERVER_TYPE RSSecondary N/A sd_b server_type N/A N/A N/A self assertEqual 0 N/A sd_b min_wire_version N/A N/A N/A self assertEqual 2 N/A sd_b max_wire_version N/A test_network_error_on_query N/A N/A self N/A N/A N/A callback N/A N/A N/A client N/A N/A N/A N/A N/A client db collection find_one N/A N/A N/A self _test_network_error callback N/A test_network_error_on_insert N/A N/A self N/A N/A N/A callback N/A N/A N/A client N/A N/A N/A N/A N/A client db collection insert_one N/A N/A N/A N/A self _test_network_error callback N/A test_network_error_on_update N/A N/A self N/A N/A N/A callback N/A N/A N/A client N/A N/A N/A N/A N/A client db collection update_one N/A N/A $unset x N/A N/A N/A self _test_network_error callback N/A test_network_error_on_replace N/A N/A self N/A N/A N/A callback N/A N/A N/A client N/A N/A N/A N/A N/A client db collection replace_one N/A N/A N/A N/A N/A self _test_network_error callback N/A test_network_error_on_delete N/A N/A self N/A N/A N/A callback N/A N/A N/A client N/A N/A N/A N/A N/A client db collection delete_many N/A N/A N/A N/A self _test_network_error callback N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main