Module Expr Str ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias Import alias ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias alias alias Import alias Import alias ImportFrom alias ImportFrom alias identifier Import alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias FunctionDef arguments args defaults body If CompareNotIn Str AttributeLoad NameLoad attr body Return NameLoad Import alias Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args defaults body If CompareNotIn Str AttributeLoad NameLoad attr body Return NameLoad Import alias Return CompareIs AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list If Call NameLoad body ImportFrom alias identifier orelse If Call NameLoad body ImportFrom alias identifier orelse TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias identifier Expr Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body If AttributeLoad NameLoad attr body Return TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list Import alias If CompareEq Call AttributeLoad NameLoad attr Str body FunctionDef arguments args defaults body If CompareIsNot NameLoad NameLoad body Return Call NameLoad Call NameLoad Return Call NameLoad decorator_list orelse FunctionDef arguments args defaults body Return Call NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Expr Str Assign NameStore Num Expr Str Assign NameStore NameLoad Expr Str Assign NameStore Num Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad Return TryExcept body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body If CompareGt AttributeLoad NameLoad attr Num body Raise Call NameLoad Str orelse If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Str Assign NameStore Call NameLoad Num Num Expr Str Assign NameStore Call NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore Call NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore Num Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore Num Expr Str Assign NameStore Num Expr Str Assign NameStore Num Expr Str Assign NameStore Num Expr Str Assign NameStore Num Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults ListLoad Str Num NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num Num Num Num Num Num Num Num NameLoad NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIn NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListComp SubscriptLoad SubscriptLoad NameLoad Index Num Index Num comprehension NameStore AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body 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 NameLoad 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 Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad If AttributeLoad NameLoad attr body ImportFrom alias Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareLt AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareGtE AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareGtE AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareGtE AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If CompareLt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareGtE AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore BinOpSub NameLoad Num If CompareLt NameLoad AttributeLoad NameLoad attr body If CompareGtE NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Raise Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return orelse Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body With NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return TryFinally body For NameStore ListComp NameLoad comprehension NameStore NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return If UnaryOpNot Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad finalbody With AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Str NameLoad With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Return If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad With AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Raise orelse If UnaryOpNot NameLoad body With AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad NameLoad attr body Return With AttributeLoad NameLoad attr body If BoolOpOr BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot NameLoad Call AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body With NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore ListComp NameLoad comprehension NameStore NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Return If UnaryOpNot Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If Call NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad body If UnaryOpNot NameLoad body Raise Call NameLoad Str If CompareGt Call NameLoad GeneratorExp Num comprehension NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad Num body Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If NameLoad body Return AttributeLoad NameLoad attr orelse If NameLoad body Return AttributeLoad NameLoad attr orelse If NameLoad body Return AttributeLoad NameLoad attr orelse If NameLoad body Return AttributeLoad NameLoad attr orelse If NameLoad body Return AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad TryFinally body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call NameLoad NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num For NameStore NameLoad body Assign NameStore ListComp Call NameLoad keyword AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num NameLoad For NameStore NameLoad body If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad ExceptHandler type TupleLoad NameLoad AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body With AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Expr Str Assign NameStore Num Expr Str Assign NameStore AttributeLoad NameLoad attr Expr Str Assign NameStore NameLoad Expr Str Assign NameStore Num Expr Str Assign NameStore Num Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Assign NameStore NameLoad 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 Call NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIs NameLoad NameLoad CompareGtE AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore NameLoad If BoolOpAnd CompareGtE AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body Assign NameStore Call NameLoad BinOpMult Call AttributeLoad NameLoad attr Num orelse Assign NameStore NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body If CompareLt AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Raise Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareNotEq NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Call NameLoad keyword NameLoad NameLoad AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Continue If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Continue Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return orelse Assign AttributeStore NameLoad attr NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Return NameLoad FunctionDef arguments args defaults body TryExcept body If CompareGtE AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Return NameLoad ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword NameLoad Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpOr UnaryOpNot NameLoad AttributeLoad NameLoad attr body If BoolOpAnd CompareNotEq NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareNotEq NameLoad AttributeLoad NameLoad attr body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict If UnaryOpNot NameLoad body Expr Call NameLoad NameLoad Return FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad NameLoad decorator_list For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call AttributeLoad Str attr GeneratorExp BinOpMod Str TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad decorator_list Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp TupleLoad NameLoad Call AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Return Expr Call Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad 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 Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad ExceptHandler type NameLoad name NameStore body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad If AttributeLoad NameLoad attr body Raise Call NameLoad Str Raise Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad While NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Raise Call NameLoad Str Break handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad NameLoad NameLoad Str Call NameLoad NameLoad NameLoad Str Call NameLoad NameLoad NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Raise Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body TryExcept body If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body TryExcept body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad kwarg body If AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body TryExcept body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Pass ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Dict If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore BoolOpOr NameLoad CompareIs AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd CompareIn Str NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Continue Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore NameLoad orelse AugAssignBitOr NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareNotIn AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad If CompareNotIn AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad 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 NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareLtE NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Num Assign NameStore BinOpSub NameLoad NameLoad orelse Assign NameStore BinOpMult Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Num If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body If CompareGtE AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareEq NameLoad Str body Assign NameStore BinOpAdd Num Call AttributeLoad NameLoad attr Str Num If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareEq NameLoad Str body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareLt AttributeLoad NameLoad attr Num body Return Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore IfExp CompareIsNot NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr If CompareLtE NameLoad Num body Return NameLoad With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad While CompareLt NameLoad NameLoad body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Continue ExceptHandler type NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return NameLoad orelse Raise Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad Call NameLoad AttributeLoad NameLoad attr Index Num If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Str attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Return Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr UnaryOpNot NameLoad CompareIn NameLoad ListLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Return Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str NameLoad Return IfExp NameLoad ListLoad NameLoad ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareIs NameLoad AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore TupleLoad NameLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body While NameLoad body If AttributeLoad NameLoad attr body Return TryExcept body While NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return If CompareLtE NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad Break handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Dict AttributeLoad AttributeLoad NameLoad attr attr Str orelse Assign NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore IfExp NameLoad AttributeLoad NameLoad attr Str Assign NameStore Dict NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Return If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGt BinOpSub Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If UnaryOpNot NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad Str Return NameLoad orelse If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad Str Return NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareIsNot AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str NameLoad If Call NameLoad NameLoad NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad NameLoad Str NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If Call NameLoad NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return orelse If Call NameLoad NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return orelse If Call NameLoad NameLoad NameLoad body If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad handlers ExceptHandler type NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Return orelse Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Return orelse If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Return Assign TupleStore NameStore NameStore NameLoad If CompareIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore CompareEq NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad orelse If CompareIs NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad orelse If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return If Call NameLoad NameLoad NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpSub Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpSub Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return If BoolOpAnd NameLoad CompareIsNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Raise AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad AttributeLoad NameLoad attr body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad AttributeLoad NameLoad attr body Expr Str If AttributeLoad NameLoad attr body Return ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore NameLoad With AttributeLoad NameLoad attr body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore NameLoad With AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults TupleLoad NameLoad TupleLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BoolOpOr NameLoad Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore IfExp CompareIs AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpOr AttributeLoad NameLoad attr ListLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad Raise Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr IfExp NameLoad ListLoad NameLoad ListLoad Return TryExcept body Expr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr IfExp NameLoad ListLoad NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return If AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Return CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotIn AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num body Raise Call NameLoad BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If Call NameLoad NameLoad NameLoad body Return SubscriptLoad NameLoad Index Num orelse Return SubscriptLoad NameLoad Index Str decorator_list NameLoad decorator_list
N/A N/A 
This module houses the main classes you will interact with,
:class:`.Cluster` and :class:`.Session`.
 __future__ absolute_import N/A atexit collections defaultdict Mapping concurrent.futures ThreadPoolExecutor N/A logging random random N/A socket N/A sys N/A time threading Lock RLock Thread Event N/A warnings N/A six six.moves range six.moves queue Queue N/A weakref weakref WeakValueDictionary N/A N/A weakref WeakSet N/A N/A N/A ImportError N/A cassandra.util WeakSet functools partial wraps itertools groupby count cassandra ConsistencyLevel AuthenticationFailed OperationTimedOut UnsupportedOperation SchemaTargetType DriverException cassandra.connection ConnectionException ConnectionShutdown ConnectionHeartbeat ProtocolVersionUnsupported cassandra.cqltypes UserType cassandra.encoder Encoder cassandra.protocol QueryMessage ResultMessage ErrorMessage ReadTimeoutErrorMessage WriteTimeoutErrorMessage UnavailableErrorMessage OverloadedErrorMessage PrepareMessage ExecuteMessage PreparedQueryNotFound IsBootstrappingErrorMessage BatchMessage RESULT_KIND_PREPARED RESULT_KIND_SET_KEYSPACE RESULT_KIND_ROWS RESULT_KIND_SCHEMA_CHANGE MIN_SUPPORTED_VERSION ProtocolHandler cassandra.metadata Metadata protect_name murmur3 cassandra.policies TokenAwarePolicy DCAwareRoundRobinPolicy SimpleConvictionPolicy ExponentialReconnectionPolicy HostDistance RetryPolicy IdentityTranslator cassandra.pool Host _ReconnectionHandler _HostReconnectionHandler HostConnectionPool HostConnection NoConnectionsAvailable cassandra.query SimpleStatement PreparedStatement BoundStatement BatchStatement bind_params QueryTrace named_tuple_factory dict_factory tuple_factory FETCH_SIZE_UNSET _is_eventlet_monkey_patched N/A N/A N/A N/A N/A N/A eventlet.patcher N/A sys modules N/A N/A False N/A eventlet.patcher N/A N/A N/A N/A eventlet patcher is_monkey_patched socket N/A _is_gevent_monkey_patched N/A N/A N/A N/A N/A N/A gevent.monkey N/A sys modules N/A N/A False N/A gevent.socket N/A N/A N/A socket socket N/A N/A gevent socket socket N/A N/A N/A _is_gevent_monkey_patched N/A cassandra.io.geventreactor GeventConnection DefaultConnection N/A N/A N/A _is_eventlet_monkey_patched N/A cassandra.io.eventletreactor EventletConnection DefaultConnection N/A N/A N/A cassandra.io.libevreactor LibevConnection DefaultConnection N/A N/A N/A ImportError N/A cassandra.io.asyncorereactor AsyncoreConnection DefaultConnection N/A N/A N/A encode utf8 N/A log N/A N/A logging getLogger __name__ N/A DEFAULT_MIN_REQUESTS 5 N/A DEFAULT_MAX_REQUESTS 100 N/A DEFAULT_MIN_CONNECTIONS_PER_LOCAL_HOST 2 N/A DEFAULT_MAX_CONNECTIONS_PER_LOCAL_HOST 8 N/A DEFAULT_MIN_CONNECTIONS_PER_REMOTE_HOST 1 N/A DEFAULT_MAX_CONNECTIONS_PER_REMOTE_HOST 2 N/A _NOT_SET N/A object NoHostAvailable N/A Exception N/A N/A 
    Raised when an operation is attempted but all connections are
    busy, defunct, closed, or resulted in errors when used.
     N/A errors None N/A 
    A map of the form ``{ip: exception}`` which details the particular
    Exception that was caught for each host the operation was attempted
    against.
     __init__ N/A N/A self message errors N/A N/A N/A N/A N/A Exception __init__ self message errors N/A N/A self errors errors N/A N/A _future_completed N/A N/A future N/A N/A N/A  Helper for run_in_executor()  N/A exc N/A N/A future exception N/A exc N/A N/A N/A N/A log debug Failed to run task on executor exc_info exc N/A run_in_executor N/A N/A f N/A N/A N/A 
    A decorator to run the given method in the ThreadPoolExecutor.
     new_f N/A N/A self N/A args kwargs N/A N/A N/A self is_shutdown N/A N/A N/A N/A N/A future N/A N/A N/A self executor submit f self args kwargs N/A N/A N/A future add_done_callback _future_completed N/A N/A N/A Exception N/A N/A N/A N/A log exception Failed to submit task to executor N/A N/A wraps f N/A new_f N/A _shutdown_cluster N/A N/A cluster N/A N/A N/A N/A cluster N/A N/A cluster is_shutdown N/A N/A N/A N/A cluster shutdown N/A N/A platform N/A N/A N/A N/A platform python_implementation CPython N/A default_lbp_factory N/A N/A N/A N/A N/A N/A murmur3 None N/A N/A N/A TokenAwarePolicy N/A DCAwareRoundRobinPolicy N/A N/A DCAwareRoundRobinPolicy N/A N/A default_lbp_factory N/A N/A N/A N/A N/A N/A DCAwareRoundRobinPolicy N/A Cluster N/A object N/A N/A 
    The main class to use when interacting with a Cassandra cluster.
    Typically, one instance of this class will be created for each
    separate Cassandra cluster that your application interacts with.

    Example usage::

        >>> from cassandra.cluster import Cluster
        >>> cluster = Cluster(['192.168.1.1', '192.168.1.2'])
        >>> session = cluster.connect()
        >>> session.execute("CREATE KEYSPACE ...")
        >>> ...
        >>> cluster.shutdown()

     N/A contact_points N/A 127.0.0.1 N/A 
    The list of contact points to try connecting for cluster discovery.

    Defaults to loopback interface.

    Note: When using :class:`.DCAwareLoadBalancingPolicy` with no explicit
    local_dc set (as is the default), the DC is chosen from an arbitrary
    host in contact_points. In this case, contact_points should contain
    only nodes from a single, local DC.
     N/A port 9042 N/A 
    The server-side port to open connections to. Defaults to 9042.
     N/A cql_version None N/A 
    If a specific version of CQL should be used, this may be set to that
    string version.  Otherwise, the highest CQL version supported by the
    server will be automatically used.
     N/A protocol_version 4 N/A 
    The maximum version of the native protocol to use.

    The driver will automatically downgrade version based on a negotiation with
    the server, but it is most efficient to set this to the maximum supported
    by your version of Cassandra. Setting this will also prevent conflicting
    versions negotiated if your cluster is upgraded.

    Version 2 of the native protocol adds support for lightweight transactions,
    batch operations, and automatic query paging. The v2 protocol is
    supported by Cassandra 2.0+.

    Version 3 of the native protocol adds support for protocol-level
    client-side timestamps (see :attr:`.Session.use_client_timestamp`),
    serial consistency levels for :class:`~.BatchStatement`, and an
    improved connection pool.

    Version 4 of the native protocol adds a number of new types, server warnings,
    new failure messages, and custom payloads. Details in the
    `project docs <https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec>`_

    The following table describes the native protocol versions that
    are supported by each version of Cassandra:

    +-------------------+-------------------+
    | Cassandra Version | Protocol Versions |
    +===================+===================+
    | 1.2               | 1                 |
    +-------------------+-------------------+
    | 2.0               | 1, 2              |
    +-------------------+-------------------+
    | 2.1               | 1, 2, 3           |
    +-------------------+-------------------+
    | 2.2               | 1, 2, 3, 4        |
    +-------------------+-------------------+
     N/A compression True N/A 
    Controls compression for communications between the driver and Cassandra.
    If left as the default of :const:`True`, either lz4 or snappy compression
    may be used, depending on what is supported by both the driver
    and Cassandra.  If both are fully supported, lz4 will be preferred.

    You may also set this to 'snappy' or 'lz4' to request that specific
    compression type.

    Setting this to :const:`False` disables compression.
     N/A _auth_provider None N/A _auth_provider_callable None auth_provider N/A N/A self N/A N/A N/A 
        When :attr:`~.Cluster.protocol_version` is 2 or higher, this should
        be an instance of a subclass of :class:`~cassandra.auth.AuthProvider`,
        such as :class:`~.PlainTextAuthProvider`.

        When :attr:`~.Cluster.protocol_version` is 1, this should be
        a function that accepts one argument, the IP address of a node,
        and returns a dict of credentials for that node.

        When not using authentication, this should be left as :const:`None`.
         N/A N/A self _auth_provider N/A property auth_provider N/A N/A self value N/A N/A N/A N/A value N/A N/A N/A self _auth_provider value N/A N/A N/A N/A N/A self _auth_provider_callable N/A value new_authenticator N/A N/A N/A AttributeError N/A N/A N/A N/A self protocol_version 1 N/A N/A N/A TypeError auth_provider must implement the cassandra.auth.AuthProvider interface when protocol_version >= 2 N/A N/A N/A N/A callable value N/A N/A N/A TypeError auth_provider must be callable when protocol_version == 1 N/A N/A self _auth_provider_callable value N/A N/A self _auth_provider value N/A N/A auth_provider setter N/A load_balancing_policy None N/A 
    An instance of :class:`.policies.LoadBalancingPolicy` or
    one of its subclasses.

    .. versionchanged:: 2.6.0

    Defaults to :class:`~.TokenAwarePolicy` (:class:`~.DCAwareRoundRobinPolicy`).
    when using CPython (where the murmur3 extension is available). :class:`~.DCAwareRoundRobinPolicy`
    otherwise. Default local DC will be chosen from contact points.

    **Please see** :class:`~.DCAwareRoundRobinPolicy` **for a discussion on default behavior with respect to
    DC locality and remote nodes.**
     N/A reconnection_policy N/A ExponentialReconnectionPolicy 1.0 600.0 N/A 
    An instance of :class:`.policies.ReconnectionPolicy`. Defaults to an instance
    of :class:`.ExponentialReconnectionPolicy` with a base delay of one second and
    a max delay of ten minutes.
     N/A default_retry_policy N/A RetryPolicy N/A 
    A default :class:`.policies.RetryPolicy` instance to use for all
    :class:`.Statement` objects which do not have a :attr:`~.Statement.retry_policy`
    explicitly set.
     N/A conviction_policy_factory SimpleConvictionPolicy N/A 
    A factory function which creates instances of
    :class:`.policies.ConvictionPolicy`.  Defaults to
    :class:`.policies.SimpleConvictionPolicy`.
     N/A address_translator N/A IdentityTranslator N/A 
    :class:`.policies.AddressTranslator` instance to be used in translating server node addresses
    to driver connection addresses.
     N/A connect_to_remote_hosts True N/A 
    If left as :const:`True`, hosts that are considered :attr:`~.HostDistance.REMOTE`
    by the :attr:`~.Cluster.load_balancing_policy` will have a connection
    opened to them.  Otherwise, they will not have a connection opened to them.

    Note that the default load balancing policy ignores remote hosts by default.

    .. versionadded:: 2.1.0
     N/A metrics_enabled False N/A 
    Whether or not metric collection is enabled.  If enabled, :attr:`.metrics`
    will be an instance of :class:`~cassandra.metrics.Metrics`.
     N/A metrics None N/A 
    An instance of :class:`cassandra.metrics.Metrics` if :attr:`.metrics_enabled` is
    :const:`True`, else :const:`None`.
     N/A ssl_options None N/A 
    A optional dict which will be used as kwargs for ``ssl.wrap_socket()``
    when new sockets are created.  This should be used when client encryption
    is enabled in Cassandra.

    By default, a ``ca_certs`` value should be supplied (the value should be
    a string pointing to the location of the CA certs file), and you probably
    want to specify ``ssl_version`` as ``ssl.PROTOCOL_TLSv1`` to match
    Cassandra's default protocol.

    .. versionchanged:: 3.3.0

    In addition to ``wrap_socket`` kwargs, clients may also specify ``'check_hostname': True`` to verify the cert hostname
    as outlined in RFC 2818 and RFC 6125. Note that this requires the certificate to be transferred, so
    should almost always require the option ``'cert_reqs': ssl.CERT_REQUIRED``. Note also that this functionality was not built into
    Python standard library until (2.7.9, 3.2). To enable this mechanism in earlier versions, patch ``ssl.match_hostname``
    with a custom or `back-ported function <https://pypi.python.org/pypi/backports.ssl_match_hostname>`_.
     N/A sockopts None N/A 
    An optional list of tuples which will be used as arguments to
    ``socket.setsockopt()`` for all created sockets.

    Note: some drivers find setting TCPNODELAY beneficial in the context of
    their execution model. It was not found generally beneficial for this driver.
    To try with your own workload, set ``sockopts = [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)]``
     N/A max_schema_agreement_wait 10 N/A 
    The maximum duration (in seconds) that the driver will wait for schema
    agreement across the cluster. Defaults to ten seconds.
    If set <= 0, the driver will bypass schema agreement waits altogether.
     N/A metadata None N/A 
    An instance of :class:`cassandra.metadata.Metadata`.
     N/A connection_class DefaultConnection N/A 
    This determines what event loop system will be used for managing
    I/O with Cassandra.  These are the current options:

    * :class:`cassandra.io.asyncorereactor.AsyncoreConnection`
    * :class:`cassandra.io.libevreactor.LibevConnection`
    * :class:`cassandra.io.eventletreactor.EventletConnection` (requires monkey-patching - see doc for details)
    * :class:`cassandra.io.geventreactor.GeventConnection` (requires monkey-patching - see doc for details)
    * :class:`cassandra.io.twistedreactor.TwistedConnection`

    By default, ``AsyncoreConnection`` will be used, which uses
    the ``asyncore`` module in the Python standard library.

    If ``libev`` is installed, ``LibevConnection`` will be used instead.

    If ``gevent`` or ``eventlet`` monkey-patching is detected, the corresponding
    connection class will be used automatically.
     N/A control_connection_timeout 2.0 N/A 
    A timeout, in seconds, for queries made by the control connection, such
    as querying the current schema and information about nodes in the cluster.
    If set to :const:`None`, there will be no timeout for these queries.
     N/A idle_heartbeat_interval 30 N/A 
    Interval, in seconds, on which to heartbeat idle connections. This helps
    keep connections open through network devices that expire idle connections.
    It also helps discover bad connections early in low-traffic scenarios.
    Setting to zero disables heartbeats.
     N/A schema_event_refresh_window 2 N/A 
    Window, in seconds, within which a schema component will be refreshed after
    receiving a schema_change event.

    The driver delays a random amount of time in the range [0.0, window)
    before executing the refresh. This serves two purposes:

    1.) Spread the refresh for deployments with large fanout from C* to client tier,
    preventing a 'thundering herd' problem with many clients refreshing simultaneously.

    2.) Remove redundant refreshes. Redundant events arriving within the delay period
    are discarded, and only one refresh is executed.

    Setting this to zero will execute refreshes immediately.

    Setting this negative will disable schema refreshes in response to push events
    (refreshes will still occur in response to schema change responses to DDL statements
    executed by Sessions of this Cluster).
     N/A topology_event_refresh_window 10 N/A 
    Window, in seconds, within which the node and token list will be refreshed after
    receiving a topology_change event.

    Setting this to zero will execute refreshes immediately.

    Setting this negative will disable node refreshes in response to push events
    (refreshes will still occur in response to new nodes observed on "UP" events).

    See :attr:`.schema_event_refresh_window` for discussion of rationale
     N/A connect_timeout 5 N/A 
    Timeout, in seconds, for creating new connections.

    This timeout covers the entire connection negotiation, including TCP
    establishment, options passing, and authentication.
     schema_metadata_enabled N/A N/A self N/A N/A N/A 
        Flag indicating whether internal schema metadata is updated.

        When disabled, the driver does not populate Cluster.metadata.keyspaces on connect, or on schema change events. This
        can be used to speed initial connection, and reduce load on client and server during operation. Turning this off
        gives away token aware request routing, and programmatic inspection of the metadata model.
         N/A N/A N/A self control_connection _schema_meta_enabled N/A property schema_metadata_enabled N/A N/A self enabled N/A N/A N/A N/A N/A self control_connection _schema_meta_enabled N/A bool enabled N/A N/A schema_metadata_enabled setter token_metadata_enabled N/A N/A self N/A N/A N/A 
        Flag indicating whether internal token metadata is updated.

        When disabled, the driver does not query node token information on connect, or on topology change events. This
        can be used to speed initial connection, and reduce load on client and server during operation. It is most useful
        in large clusters using vnodes, where the token map can be expensive to compute. Turning this off
        gives away token aware request routing, and programmatic inspection of the token ring.
         N/A N/A N/A self control_connection _token_meta_enabled N/A property token_metadata_enabled N/A N/A self enabled N/A N/A N/A N/A N/A self control_connection _token_meta_enabled N/A bool enabled N/A N/A token_metadata_enabled setter N/A sessions None N/A control_connection None N/A scheduler None N/A executor None N/A is_shutdown False N/A _is_setup False N/A _prepared_statements None N/A _prepared_statement_lock None N/A _idle_heartbeat None N/A _user_types None N/A 
    A map of {keyspace: {type_name: UserType}}
     N/A _listeners None N/A _listener_lock None __init__ N/A N/A self contact_points port compression auth_provider load_balancing_policy reconnection_policy default_retry_policy conviction_policy_factory metrics_enabled connection_class ssl_options sockopts cql_version protocol_version executor_threads max_schema_agreement_wait control_connection_timeout idle_heartbeat_interval schema_event_refresh_window topology_event_refresh_window connect_timeout schema_metadata_enabled token_metadata_enabled address_translator N/A N/A 127.0.0.1 9042 True None None None None None False None None None None 4 2 10 2.0 30 2 10 5 True True None N/A N/A 
        Any of the mutable Cluster attributes may be set as keyword arguments
        to the constructor.
         N/A N/A contact_points None N/A N/A N/A isinstance contact_points N/A six string_types N/A N/A N/A TypeError contact_points should not be a string, it should be a sequence (e.g. list) of strings N/A N/A None contact_points N/A N/A N/A ValueError contact_points should not contain None (it can resolve to localhost) N/A N/A self contact_points contact_points N/A N/A self port port N/A N/A self contact_points_resolved N/A N/A N/A endpoint N/A 4 N/A 0 N/A a N/A self contact_points N/A endpoint N/A N/A socket getaddrinfo a N/A self port N/A socket AF_UNSPEC N/A socket SOCK_STREAM N/A N/A self compression compression N/A N/A self protocol_version protocol_version N/A N/A self auth_provider auth_provider N/A N/A load_balancing_policy None N/A N/A N/A isinstance load_balancing_policy type N/A N/A N/A TypeError load_balancing_policy should not be a class, it should be an instance of that class N/A N/A self load_balancing_policy load_balancing_policy N/A N/A N/A self load_balancing_policy N/A default_lbp_factory N/A N/A reconnection_policy None N/A N/A N/A isinstance reconnection_policy type N/A N/A N/A TypeError reconnection_policy should not be a class, it should be an instance of that class N/A N/A self reconnection_policy reconnection_policy N/A N/A default_retry_policy None N/A N/A N/A isinstance default_retry_policy type N/A N/A N/A TypeError default_retry_policy should not be a class, it should be an instance of that class N/A N/A self default_retry_policy default_retry_policy N/A N/A conviction_policy_factory None N/A N/A N/A N/A callable conviction_policy_factory N/A N/A N/A ValueError conviction_policy_factory must be callable N/A N/A self conviction_policy_factory conviction_policy_factory N/A N/A address_translator None N/A N/A N/A isinstance address_translator type N/A N/A N/A TypeError address_translator should not be a class, it should be an instance of that class N/A N/A self address_translator address_translator N/A N/A connection_class None N/A N/A N/A self connection_class connection_class N/A N/A self metrics_enabled metrics_enabled N/A N/A self ssl_options ssl_options N/A N/A self sockopts sockopts N/A N/A self cql_version cql_version N/A N/A self max_schema_agreement_wait max_schema_agreement_wait N/A N/A self control_connection_timeout control_connection_timeout N/A N/A self idle_heartbeat_interval idle_heartbeat_interval N/A N/A self schema_event_refresh_window schema_event_refresh_window N/A N/A self topology_event_refresh_window topology_event_refresh_window N/A N/A self connect_timeout connect_timeout N/A N/A self _listeners N/A set N/A N/A self _listener_lock N/A Lock N/A N/A self sessions N/A WeakSet N/A N/A self metadata N/A Metadata N/A N/A self control_connection None N/A N/A self _prepared_statements N/A WeakValueDictionary N/A N/A self _prepared_statement_lock N/A Lock N/A N/A self _user_types N/A defaultdict dict N/A N/A self _min_requests_per_connection N/A N/A HostDistance LOCAL N/A HostDistance REMOTE DEFAULT_MIN_REQUESTS DEFAULT_MIN_REQUESTS N/A N/A self _max_requests_per_connection N/A N/A HostDistance LOCAL N/A HostDistance REMOTE DEFAULT_MAX_REQUESTS DEFAULT_MAX_REQUESTS N/A N/A self _core_connections_per_host N/A N/A HostDistance LOCAL N/A HostDistance REMOTE DEFAULT_MIN_CONNECTIONS_PER_LOCAL_HOST DEFAULT_MIN_CONNECTIONS_PER_REMOTE_HOST N/A N/A self _max_connections_per_host N/A N/A HostDistance LOCAL N/A HostDistance REMOTE DEFAULT_MAX_CONNECTIONS_PER_LOCAL_HOST DEFAULT_MAX_CONNECTIONS_PER_REMOTE_HOST N/A N/A self executor N/A ThreadPoolExecutor max_workers executor_threads N/A N/A self scheduler N/A _Scheduler N/A self executor N/A N/A self _lock N/A RLock N/A N/A self metrics_enabled N/A cassandra.metrics Metrics N/A N/A self metrics N/A Metrics N/A N/A weakref proxy self N/A N/A self control_connection N/A ControlConnection self N/A self control_connection_timeout N/A self schema_event_refresh_window N/A self topology_event_refresh_window schema_metadata_enabled token_metadata_enabled N/A register_user_type N/A N/A self keyspace user_type klass N/A N/A N/A 
        Registers a class to use to represent a particular user-defined type.
        Query parameters for this user-defined type will be assumed to be
        instances of `klass`.  Result sets for this user-defined type will
        be instances of `klass`.  If no class is registered for a user-defined
        type, a namedtuple will be used for result sets, and non-prepared
        statements may not encode parameters for this type correctly.

        `keyspace` is the name of the keyspace that the UDT is defined in.

        `user_type` is the string name of the UDT to register the mapping
        for.

        `klass` should be a class with attributes whose names match the
        fields of the user-defined type.  The constructor must accepts kwargs
        for each of the fields in the UDT.

        This method should only be called after the type has been created
        within Cassandra.

        Example::

            cluster = Cluster(protocol_version=3)
            session = cluster.connect()
            session.set_keyspace('mykeyspace')
            session.execute("CREATE TYPE address (street text, zipcode int)")
            session.execute("CREATE TABLE users (id int PRIMARY KEY, location address)")

            # create a class to map to the "address" UDT
            class Address(object):

                def __init__(self, street, zipcode):
                    self.street = street
                    self.zipcode = zipcode

            cluster.register_user_type('mykeyspace', 'address', Address)

            # insert a row using an instance of Address
            session.execute("INSERT INTO users (id, location) VALUES (%s, %s)",
                            (0, Address("123 Main St.", 78723)))

            # results will include Address instances
            results = session.execute("SELECT * FROM users")
            row = results[0]
            print row.id, row.location.street, row.location.zipcode

         N/A N/A N/A self protocol_version 3 N/A N/A N/A N/A log warning User Type serialization is only supported in native protocol version 3+ (%d in use). CQL encoding for simple statements will still work, but named tuples will be returned when reading type %s.%s. N/A self protocol_version keyspace user_type N/A N/A N/A N/A self _user_types N/A keyspace N/A user_type klass N/A session N/A self sessions N/A N/A N/A N/A session user_type_registered keyspace user_type klass N/A N/A N/A UserType evict_udt_class keyspace user_type N/A get_min_requests_per_connection N/A N/A self host_distance N/A N/A N/A N/A N/A self _min_requests_per_connection N/A host_distance N/A set_min_requests_per_connection N/A N/A self host_distance min_requests N/A N/A N/A 
        Sets a threshold for concurrent requests per connection, below which
        connections will be considered for disposal (down to core connections;
        see :meth:`~Cluster.set_core_connections_per_host`).

        Pertains to connection pool management in protocol versions {1,2}.
         N/A N/A N/A self protocol_version 3 N/A N/A N/A UnsupportedOperation Cluster.set_min_requests_per_connection() only has an effect when using protocol_version 1 or 2. N/A N/A N/A self _min_requests_per_connection N/A host_distance min_requests N/A get_max_requests_per_connection N/A N/A self host_distance N/A N/A N/A N/A N/A self _max_requests_per_connection N/A host_distance N/A set_max_requests_per_connection N/A N/A self host_distance max_requests N/A N/A N/A 
        Sets a threshold for concurrent requests per connection, above which new
        connections will be created to a host (up to max connections;
        see :meth:`~Cluster.set_max_connections_per_host`).

        Pertains to connection pool management in protocol versions {1,2}.
         N/A N/A N/A self protocol_version 3 N/A N/A N/A UnsupportedOperation Cluster.set_max_requests_per_connection() only has an effect when using protocol_version 1 or 2. N/A N/A N/A self _max_requests_per_connection N/A host_distance max_requests N/A get_core_connections_per_host N/A N/A self host_distance N/A N/A N/A 
        Gets the minimum number of connections per Session that will be opened
        for each host with :class:`~.HostDistance` equal to `host_distance`.
        The default is 2 for :attr:`~HostDistance.LOCAL` and 1 for
        :attr:`~HostDistance.REMOTE`.

        This property is ignored if :attr:`~.Cluster.protocol_version` is
        3 or higher.
         N/A N/A N/A self _core_connections_per_host N/A host_distance N/A set_core_connections_per_host N/A N/A self host_distance core_connections N/A N/A N/A 
        Sets the minimum number of connections per Session that will be opened
        for each host with :class:`~.HostDistance` equal to `host_distance`.
        The default is 2 for :attr:`~HostDistance.LOCAL` and 1 for
        :attr:`~HostDistance.REMOTE`.

        Protocol version 1 and 2 are limited in the number of concurrent
        requests they can send per connection. The driver implements connection
        pooling to support higher levels of concurrency.

        If :attr:`~.Cluster.protocol_version` is set to 3 or higher, this
        is not supported (there is always one connection per host, unless
        the host is remote and :attr:`connect_to_remote_hosts` is :const:`False`)
        and using this will result in an :exc:`~.UnsupporteOperation`.
         N/A N/A N/A self protocol_version 3 N/A N/A N/A UnsupportedOperation Cluster.set_core_connections_per_host() only has an effect when using protocol_version 1 or 2. N/A old N/A N/A self _core_connections_per_host N/A host_distance N/A N/A N/A self _core_connections_per_host N/A host_distance core_connections N/A N/A old core_connections N/A N/A N/A N/A self _ensure_core_connections N/A get_max_connections_per_host N/A N/A self host_distance N/A N/A N/A 
        Gets the maximum number of connections per Session that will be opened
        for each host with :class:`~.HostDistance` equal to `host_distance`.
        The default is 8 for :attr:`~HostDistance.LOCAL` and 2 for
        :attr:`~HostDistance.REMOTE`.

        This property is ignored if :attr:`~.Cluster.protocol_version` is
        3 or higher.
         N/A N/A N/A self _max_connections_per_host N/A host_distance N/A set_max_connections_per_host N/A N/A self host_distance max_connections N/A N/A N/A 
        Sets the maximum number of connections per Session that will be opened
        for each host with :class:`~.HostDistance` equal to `host_distance`.
        The default is 2 for :attr:`~HostDistance.LOCAL` and 1 for
        :attr:`~HostDistance.REMOTE`.

        If :attr:`~.Cluster.protocol_version` is set to 3 or higher, this
        is not supported (there is always one connection per host, unless
        the host is remote and :attr:`connect_to_remote_hosts` is :const:`False`)
        and using this will result in an :exc:`~.UnsupporteOperation`.
         N/A N/A N/A self protocol_version 3 N/A N/A N/A UnsupportedOperation Cluster.set_max_connections_per_host() only has an effect when using protocol_version 1 or 2. N/A N/A N/A self _max_connections_per_host N/A host_distance max_connections N/A connection_factory N/A N/A self address N/A args kwargs N/A N/A 
        Called to create a new connection with proper configuration.
        Intended for internal use only.
         N/A kwargs N/A N/A self _make_connection_kwargs address kwargs N/A N/A N/A N/A self connection_class factory address N/A self connect_timeout args kwargs N/A _make_connection_factory N/A N/A self host N/A args kwargs N/A N/A kwargs N/A N/A self _make_connection_kwargs N/A host address kwargs N/A N/A partial N/A N/A self connection_class factory N/A host address N/A self connect_timeout args kwargs N/A _make_connection_kwargs N/A N/A self address kwargs_dict N/A N/A N/A N/A self _auth_provider_callable N/A N/A N/A N/A kwargs_dict setdefault authenticator N/A N/A self _auth_provider_callable address N/A N/A N/A kwargs_dict setdefault port N/A self port N/A N/A N/A kwargs_dict setdefault compression N/A self compression N/A N/A N/A kwargs_dict setdefault sockopts N/A self sockopts N/A N/A N/A kwargs_dict setdefault ssl_options N/A self ssl_options N/A N/A N/A kwargs_dict setdefault cql_version N/A self cql_version N/A N/A N/A kwargs_dict setdefault protocol_version N/A self protocol_version N/A N/A N/A kwargs_dict setdefault user_type_map N/A self _user_types N/A kwargs_dict N/A protocol_downgrade N/A N/A self host_addr previous_version N/A N/A N/A new_version N/A previous_version 1 N/A N/A new_version N/A self protocol_version N/A N/A N/A new_version MIN_SUPPORTED_VERSION N/A N/A N/A N/A log warning Downgrading core protocol version from %d to %d for %s N/A self protocol_version new_version host_addr N/A N/A self protocol_version new_version N/A N/A N/A DriverException N/A Cannot downgrade protocol version (%d) below minimum supported version: %d N/A new_version MIN_SUPPORTED_VERSION N/A connect N/A N/A self keyspace N/A None N/A N/A 
        Creates and returns a new :class:`~.Session` object.  If `keyspace`
        is specified, that keyspace will be the default keyspace for
        operations on the ``Session``.
         N/A N/A self _lock N/A N/A N/A self is_shutdown N/A N/A N/A DriverException Cluster is already shut down N/A N/A N/A self _is_setup N/A N/A N/A N/A log debug Connecting to cluster, contact points: %s; protocol version: %s N/A self contact_points N/A self protocol_version N/A N/A N/A N/A self connection_class initialize_reactor N/A N/A N/A atexit register N/A partial _shutdown_cluster self N/A address N/A self contact_points_resolved N/A N/A N/A host new N/A N/A self add_host address signal False N/A new N/A N/A N/A N/A host set_up N/A listener N/A self listeners N/A N/A N/A N/A listener on_add host N/A N/A N/A N/A self load_balancing_policy populate N/A N/A weakref proxy self N/A N/A N/A self metadata all_hosts N/A N/A N/A N/A N/A N/A self control_connection connect N/A N/A N/A log debug Control connection created N/A N/A N/A Exception N/A N/A N/A N/A log exception Control connection failed to connect, shutting down Cluster: N/A N/A N/A self shutdown N/A N/A N/A N/A N/A self load_balancing_policy check_supported N/A N/A self idle_heartbeat_interval N/A N/A N/A self _idle_heartbeat N/A ConnectionHeartbeat N/A self idle_heartbeat_interval N/A self get_connection_holders N/A N/A self _is_setup True N/A session N/A N/A self _new_session N/A keyspace N/A N/A N/A N/A session set_keyspace keyspace N/A session N/A get_connection_holders N/A N/A self N/A N/A N/A holders N/A N/A s N/A self sessions N/A N/A N/A N/A holders extend N/A N/A s get_pools N/A N/A N/A holders append N/A self control_connection N/A holders N/A shutdown N/A N/A self N/A N/A N/A 
        Closes all sessions and connection associated with this Cluster.
        To ensure all connections are properly closed, **you should always
        call shutdown() on a Cluster instance when you are done with it**.

        Once shutdown, a Cluster should not be used for any purpose.
         N/A N/A self _lock N/A N/A N/A self is_shutdown N/A N/A N/A N/A N/A self is_shutdown True N/A N/A self _idle_heartbeat N/A N/A N/A N/A N/A self _idle_heartbeat stop N/A N/A N/A N/A self scheduler shutdown N/A N/A N/A N/A self control_connection shutdown N/A session N/A self sessions N/A N/A N/A N/A session shutdown N/A N/A N/A N/A self executor shutdown N/A _new_session N/A N/A self N/A N/A N/A session N/A Session self N/A N/A N/A self metadata all_hosts N/A N/A N/A self _session_register_user_types session N/A N/A N/A N/A self sessions add session N/A session N/A _session_register_user_types N/A N/A self session N/A N/A N/A N/A keyspace type_map N/A N/A six iteritems N/A self _user_types N/A N/A N/A udt_name klass N/A N/A six iteritems type_map N/A N/A N/A N/A session user_type_registered keyspace udt_name klass N/A _cleanup_failed_on_up_handling N/A N/A self host N/A N/A N/A N/A N/A N/A self load_balancing_policy on_down host N/A N/A N/A N/A self control_connection on_down host N/A session N/A self sessions N/A N/A N/A N/A session remove_pool host N/A N/A N/A self _start_reconnector host is_host_addition False N/A _on_up_future_completed N/A N/A self host futures results lock finished_future N/A N/A N/A lock N/A N/A N/A N/A futures discard finished_future N/A N/A N/A N/A N/A results append N/A N/A finished_future result N/A N/A N/A Exception N/A exc N/A N/A N/A N/A results append exc N/A futures N/A N/A N/A N/A N/A exc N/A f N/A f results N/A isinstance f Exception N/A N/A N/A N/A log error Unexpected failure while marking node %s up: host exc_info exc N/A N/A N/A self _cleanup_failed_on_up_handling host N/A N/A N/A N/A all results N/A N/A N/A N/A log debug Connection pool could not be created, not marking node %s up host N/A N/A N/A self _cleanup_failed_on_up_handling host N/A N/A N/A N/A log info Connection pools established for node %s host N/A N/A N/A host set_up N/A listener N/A self listeners N/A N/A N/A N/A listener on_up host N/A N/A N/A host lock N/A N/A N/A host _currently_handling_node_up False N/A session N/A self sessions N/A N/A N/A N/A session update_created_pools N/A on_up N/A N/A self host N/A N/A N/A 
        Intended for internal use only.
         N/A N/A self is_shutdown N/A N/A N/A N/A N/A log debug Waiting to acquire lock for handling up status of node %s host N/A N/A host lock N/A N/A N/A host _currently_handling_node_up N/A N/A N/A N/A log debug Another thread is already handling up status of node %s host N/A N/A N/A host is_up N/A N/A N/A N/A log debug Host %s was already marked up host N/A N/A N/A host _currently_handling_node_up True N/A N/A N/A log debug Starting to handle up status of node %s host N/A have_future False N/A futures N/A set N/A N/A N/A N/A N/A log info Host %s may be up; will prepare queries and open connection pool host N/A reconnector N/A N/A host get_and_set_reconnection_handler None N/A reconnector N/A N/A N/A N/A log debug Now that host %s is up, cancelling the reconnection handler host N/A N/A N/A reconnector cancel N/A N/A N/A self _prepare_all_queries host N/A N/A N/A log debug Done preparing all queries for host %s,  host N/A session N/A self sessions N/A N/A N/A N/A session remove_pool host N/A N/A N/A log debug Signalling to load balancing policy that host %s is up host N/A N/A N/A N/A self load_balancing_policy on_up host N/A N/A N/A log debug Signalling to control connection that host %s is up host N/A N/A N/A N/A self control_connection on_up host N/A N/A N/A log debug Attempting to open new connection pools for host %s host N/A futures_lock N/A Lock N/A futures_results N/A N/A callback N/A partial N/A self _on_up_future_completed host futures futures_results futures_lock N/A session N/A self sessions N/A N/A future N/A N/A session add_or_renew_pool host is_host_addition False N/A N/A future None N/A N/A have_future True N/A N/A N/A future add_done_callback callback N/A N/A N/A futures add future N/A N/A N/A Exception N/A N/A N/A N/A log exception Unexpected failure handling node %s being marked up: host N/A future futures N/A N/A N/A N/A future cancel N/A N/A N/A self _cleanup_failed_on_up_handling host N/A N/A host lock N/A N/A N/A host _currently_handling_node_up False N/A N/A N/A N/A have_future N/A N/A N/A host lock N/A N/A N/A host _currently_handling_node_up False N/A futures N/A _start_reconnector N/A N/A self host is_host_addition N/A N/A N/A N/A N/A N/A N/A self load_balancing_policy distance host N/A HostDistance IGNORED N/A N/A N/A schedule N/A N/A N/A self reconnection_policy new_schedule N/A conn_factory N/A N/A self _make_connection_factory host N/A reconnector N/A _HostReconnectionHandler host conn_factory is_host_addition N/A self on_add N/A self on_up N/A self scheduler schedule N/A host get_and_set_reconnection_handler new_handler None N/A old_reconnector N/A N/A host get_and_set_reconnection_handler reconnector N/A old_reconnector N/A N/A N/A N/A log debug Old host reconnector found for %s, cancelling host N/A N/A N/A old_reconnector cancel N/A N/A N/A log debug Starting reconnector for host %s host N/A N/A N/A reconnector start N/A on_down N/A N/A self host is_host_addition expect_host_to_be_down N/A False N/A N/A 
        Intended for internal use only.
         N/A N/A self is_shutdown N/A N/A N/A N/A host lock N/A N/A N/A N/A N/A N/A host is_up N/A expect_host_to_be_down N/A N/A host is_currently_reconnecting N/A N/A N/A N/A N/A host set_down N/A N/A N/A log warning Host %s has been marked down host N/A N/A N/A N/A self load_balancing_policy on_down host N/A N/A N/A N/A self control_connection on_down host N/A session N/A self sessions N/A N/A N/A N/A session on_down host N/A listener N/A self listeners N/A N/A N/A N/A listener on_down host N/A N/A N/A self _start_reconnector host is_host_addition N/A run_in_executor on_add N/A N/A self host refresh_nodes N/A True N/A N/A N/A self is_shutdown N/A N/A N/A N/A N/A log debug Handling new host %r and notifying listeners host N/A distance N/A N/A N/A self load_balancing_policy distance host N/A N/A distance N/A HostDistance IGNORED N/A N/A N/A N/A self _prepare_all_queries host N/A N/A N/A log debug Done preparing queries for new host %r host N/A N/A N/A N/A self load_balancing_policy on_add host N/A N/A N/A N/A self control_connection on_add host refresh_nodes N/A N/A distance N/A HostDistance IGNORED N/A N/A N/A N/A log debug Not adding connection pool for new host %r because the load balancing policy has marked it as IGNORED host N/A N/A N/A self _finalize_add host N/A N/A futures_lock N/A Lock N/A futures_results N/A N/A futures N/A set future_completed N/A N/A future N/A N/A N/A futures_lock N/A N/A N/A N/A futures discard future N/A N/A N/A N/A N/A futures_results append N/A N/A future result N/A N/A N/A Exception N/A exc N/A N/A N/A N/A futures_results append exc N/A futures N/A N/A N/A N/A N/A log debug All futures have completed for added host %s host N/A exc N/A f N/A f futures_results N/A isinstance f Exception N/A N/A N/A N/A log error Unexpected failure while adding node %s, will not mark up: host exc_info exc N/A N/A N/A N/A all futures_results N/A N/A N/A N/A log warning Connection pool could not be created, not marking node %s up host N/A N/A N/A N/A self _finalize_add host N/A N/A have_future False N/A session N/A self sessions N/A N/A future N/A N/A session add_or_renew_pool host is_host_addition True N/A N/A future None N/A N/A have_future True N/A N/A N/A futures add future N/A N/A N/A future add_done_callback future_completed N/A N/A have_future N/A N/A N/A N/A self _finalize_add host N/A _finalize_add N/A N/A self host N/A N/A N/A N/A N/A host set_up N/A listener N/A self listeners N/A N/A N/A N/A listener on_add host N/A session N/A self sessions N/A N/A N/A N/A session update_created_pools N/A on_remove N/A N/A self host N/A N/A N/A N/A self is_shutdown N/A N/A N/A N/A N/A log debug Removing host %s host N/A N/A N/A host set_down N/A N/A N/A N/A self load_balancing_policy on_remove host N/A session N/A self sessions N/A N/A N/A N/A session on_remove host N/A listener N/A self listeners N/A N/A N/A N/A listener on_remove host N/A N/A N/A N/A self control_connection on_remove host N/A signal_connection_failure N/A N/A self host connection_exc is_host_addition expect_host_to_be_down N/A False N/A N/A is_down N/A N/A host signal_connection_failure connection_exc N/A is_down N/A N/A N/A N/A self on_down host is_host_addition expect_host_to_be_down N/A is_down N/A add_host N/A N/A self address datacenter rack signal refresh_nodes N/A None None True True N/A N/A 
        Called when adding initial contact points and when the control
        connection subsequently discovers a new node.
        Returns a Host instance, and a flag indicating whether it was new in
        the metadata.
        Intended for internal use only.
         N/A N/A host new N/A N/A N/A self metadata add_or_return_host N/A Host address N/A self conviction_policy_factory datacenter rack N/A N/A new signal N/A N/A N/A N/A log info New Cassandra host %r discovered host N/A N/A N/A self on_add host refresh_nodes N/A N/A host new N/A remove_host N/A N/A self host N/A N/A N/A 
        Called when the control connection observes that a node has left the
        ring.  Intended for internal use only.
         N/A N/A host N/A N/A N/A self metadata remove_host host N/A N/A N/A N/A log info Cassandra host %s removed host N/A N/A N/A self on_remove host N/A register_listener N/A N/A self listener N/A N/A N/A 
        Adds a :class:`cassandra.policies.HostStateListener` subclass instance to
        the list of listeners to be notified when a host is added, removed,
        marked up, or marked down.
         N/A N/A self _listener_lock N/A N/A N/A N/A N/A self _listeners add listener N/A unregister_listener N/A N/A self listener N/A N/A N/A  Removes a registered listener.  N/A N/A self _listener_lock N/A N/A N/A N/A N/A self _listeners remove listener N/A listeners N/A N/A self N/A N/A N/A N/A self _listener_lock N/A N/A N/A N/A N/A self _listeners copy N/A property _ensure_core_connections N/A N/A self N/A N/A N/A 
        If any host has fewer than the configured number of core connections
        open, attempt to open connections until that number is met.
         N/A session N/A self sessions N/A N/A pool N/A N/A N/A session _pools values N/A N/A N/A N/A pool ensure_core_connections N/A _validate_refresh_schema N/A N/A keyspace table usertype function aggregate N/A N/A N/A N/A any N/A table usertype function aggregate N/A N/A N/A keyspace N/A N/A N/A ValueError keyspace is required to refresh specific sub-entity {table, usertype, function, aggregate} N/A N/A N/A sum N/A 1 N/A e N/A table usertype function e 1 N/A N/A N/A ValueError {table, usertype, function, aggregate} are mutually exclusive N/A staticmethod _target_type_from_refresh_args N/A N/A keyspace table usertype function aggregate N/A N/A N/A aggregate N/A N/A N/A SchemaTargetType AGGREGATE N/A N/A function N/A N/A N/A SchemaTargetType FUNCTION N/A N/A usertype N/A N/A N/A SchemaTargetType TYPE N/A N/A table N/A N/A N/A SchemaTargetType TABLE N/A N/A keyspace N/A N/A N/A SchemaTargetType KEYSPACE N/A None N/A staticmethod refresh_schema_metadata N/A N/A self max_schema_agreement_wait N/A None N/A N/A 
        Synchronously refresh all schema metadata.

        By default, the timeout for this operation is governed by :attr:`~.Cluster.max_schema_agreement_wait`
        and :attr:`~.Cluster.control_connection_timeout`.

        Passing max_schema_agreement_wait here overrides :attr:`~.Cluster.max_schema_agreement_wait`.

        Setting max_schema_agreement_wait <= 0 will bypass schema agreement and refresh schema immediately.

        An Exception is raised if schema refresh fails for any reason.
         N/A N/A N/A N/A N/A self control_connection refresh_schema schema_agreement_wait max_schema_agreement_wait force True N/A N/A N/A DriverException Schema metadata was not refreshed. See log for details. N/A refresh_keyspace_metadata N/A N/A self keyspace max_schema_agreement_wait N/A None N/A N/A 
        Synchronously refresh keyspace metadata. This applies to keyspace-level information such as replication
        and durability settings. It does not refresh tables, types, etc. contained in the keyspace.

        See :meth:`~.Cluster.refresh_schema_metadata` for description of ``max_schema_agreement_wait`` behavior
         N/A N/A N/A N/A N/A self control_connection refresh_schema target_type N/A SchemaTargetType KEYSPACE keyspace keyspace schema_agreement_wait max_schema_agreement_wait force True N/A N/A N/A DriverException Keyspace metadata was not refreshed. See log for details. N/A refresh_table_metadata N/A N/A self keyspace table max_schema_agreement_wait N/A None N/A N/A 
        Synchronously refresh table metadata. This applies to a table, and any triggers or indexes attached
        to the table.

        See :meth:`~.Cluster.refresh_schema_metadata` for description of ``max_schema_agreement_wait`` behavior
         N/A N/A N/A N/A N/A self control_connection refresh_schema target_type N/A SchemaTargetType TABLE keyspace keyspace table table schema_agreement_wait max_schema_agreement_wait force True N/A N/A N/A DriverException Table metadata was not refreshed. See log for details. N/A refresh_materialized_view_metadata N/A N/A self keyspace view max_schema_agreement_wait N/A None N/A N/A 
        Synchronously refresh materialized view metadata.

        See :meth:`~.Cluster.refresh_schema_metadata` for description of ``max_schema_agreement_wait`` behavior
         N/A N/A N/A N/A N/A self control_connection refresh_schema target_type N/A SchemaTargetType TABLE keyspace keyspace table view schema_agreement_wait max_schema_agreement_wait force True N/A N/A N/A DriverException View metadata was not refreshed. See log for details. N/A refresh_user_type_metadata N/A N/A self keyspace user_type max_schema_agreement_wait N/A None N/A N/A 
        Synchronously refresh user defined type metadata.

        See :meth:`~.Cluster.refresh_schema_metadata` for description of ``max_schema_agreement_wait`` behavior
         N/A N/A N/A N/A N/A self control_connection refresh_schema target_type N/A SchemaTargetType TYPE keyspace keyspace type user_type schema_agreement_wait max_schema_agreement_wait force True N/A N/A N/A DriverException User Type metadata was not refreshed. See log for details. N/A refresh_user_function_metadata N/A N/A self keyspace function max_schema_agreement_wait N/A None N/A N/A 
        Synchronously refresh user defined function metadata.

        ``function`` is a :class:`cassandra.UserFunctionDescriptor`.

        See :meth:`~.Cluster.refresh_schema_metadata` for description of ``max_schema_agreement_wait`` behavior
         N/A N/A N/A N/A N/A self control_connection refresh_schema target_type N/A SchemaTargetType FUNCTION keyspace keyspace function function schema_agreement_wait max_schema_agreement_wait force True N/A N/A N/A DriverException User Function metadata was not refreshed. See log for details. N/A refresh_user_aggregate_metadata N/A N/A self keyspace aggregate max_schema_agreement_wait N/A None N/A N/A 
        Synchronously refresh user defined aggregate metadata.

        ``aggregate`` is a :class:`cassandra.UserAggregateDescriptor`.

        See :meth:`~.Cluster.refresh_schema_metadata` for description of ``max_schema_agreement_wait`` behavior
         N/A N/A N/A N/A N/A self control_connection refresh_schema target_type N/A SchemaTargetType AGGREGATE keyspace keyspace aggregate aggregate schema_agreement_wait max_schema_agreement_wait force True N/A N/A N/A DriverException User Aggregate metadata was not refreshed. See log for details. N/A refresh_nodes N/A N/A self N/A N/A N/A 
        Synchronously refresh the node list and token metadata

        An Exception is raised if node refresh fails for any reason.
         N/A N/A N/A N/A N/A self control_connection refresh_node_list_and_token_map N/A N/A N/A DriverException Node list was not refreshed. See log for details. N/A set_meta_refresh_enabled N/A N/A self enabled N/A N/A N/A 
        *Deprecated:* set :attr:`~.Cluster.schema_metadata_enabled` :attr:`~.Cluster.token_metadata_enabled` instead

        Sets a flag to enable (True) or disable (False) all metadata refresh queries.
        This applies to both schema and node topology.

        Disabling this is useful to minimize refreshes during multiple changes.

        Meta refresh must be enabled for the driver to become aware of any cluster
        topology changes or schema updates.
         N/A N/A self schema_metadata_enabled enabled N/A N/A self token_metadata_enabled enabled N/A _prepare_all_queries N/A N/A self host N/A N/A N/A N/A N/A self _prepared_statements N/A N/A N/A N/A N/A log debug Preparing all known prepared statements against host %s host N/A connection None N/A N/A N/A N/A N/A connection N/A N/A self connection_factory N/A host address N/A N/A N/A N/A N/A N/A self control_connection wait_for_schema_agreement connection N/A N/A N/A Exception N/A N/A N/A N/A log debug Error waiting for schema agreement before preparing statements against host %s host exc_info True N/A statements N/A N/A N/A self _prepared_statements values N/A N/A keyspace ks_statements N/A groupby statements N/A N/A N/A s N/A N/A s keyspace N/A N/A N/A keyspace None N/A N/A N/A N/A connection set_keyspace_blocking keyspace N/A ks_statements N/A list ks_statements N/A chunks N/A N/A i N/A range 0 N/A len ks_statements 10 N/A N/A N/A N/A chunks append N/A ks_statements N/A i N/A i 10 N/A ks_chunk chunks N/A N/A messages N/A N/A PrepareMessage query N/A s query_string N/A s ks_chunk N/A responses N/A N/A connection wait_for_responses timeout 5.0 messages N/A response responses N/A N/A N/A N/A N/A isinstance response ResultMessage N/A N/A response kind RESULT_KIND_PREPARED N/A N/A N/A N/A log debug Got unexpected response when preparing statement on host %s: %r host response N/A N/A N/A log debug Done preparing all known prepared statements against host %s host N/A N/A N/A OperationTimedOut N/A timeout N/A N/A N/A N/A log warning Timed out trying to prepare all statements on host %s: %s host timeout N/A N/A N/A ConnectionException N/A socket error N/A exc N/A N/A N/A N/A log warning Error trying to prepare all statements on host %s: %r host exc N/A N/A Exception N/A N/A N/A N/A log exception Error trying to prepare all statements on host %s host N/A N/A connection N/A N/A N/A N/A connection close N/A prepare_on_all_sessions N/A N/A self query_id prepared_statement excluded_host N/A N/A N/A N/A self _prepared_statement_lock N/A N/A N/A N/A self _prepared_statements N/A query_id prepared_statement N/A session N/A self sessions N/A N/A N/A N/A session prepare_on_all_hosts N/A prepared_statement query_string excluded_host N/A N/A Session N/A object N/A N/A 
    A collection of connection pools for each host in the cluster.
    Instances of this class should not be created directly, only
    using :meth:`.Cluster.connect()`.

    Queries and statements can be executed through ``Session`` instances
    using the :meth:`~.Session.execute()` and :meth:`~.Session.execute_async()`
    methods.

    Example usage::

        >>> session = cluster.connect()
        >>> session.set_keyspace("mykeyspace")
        >>> session.execute("SELECT * FROM mycf")

     N/A cluster None N/A hosts None N/A keyspace None N/A is_shutdown False N/A row_factory N/A staticmethod named_tuple_factory N/A 
    The format to return row results in.  By default, each
    returned row will be a named tuple.  You can alternatively
    use any of the following:

      - :func:`cassandra.query.tuple_factory` - return a result row as a tuple
      - :func:`cassandra.query.named_tuple_factory` - return a result row as a named tuple
      - :func:`cassandra.query.dict_factory` - return a result row as a dict
      - :func:`cassandra.query.ordered_dict_factory` - return a result row as an OrderedDict

     N/A default_timeout 10.0 N/A 
    A default timeout, measured in seconds, for queries executed through
    :meth:`.execute()` or :meth:`.execute_async()`.  This default may be
    overridden with the `timeout` parameter for either of those methods.

    Setting this to :const:`None` will cause no timeouts to be set by default.

    Please see :meth:`.ResponseFuture.result` for details on the scope and
    effect of this timeout.

    .. versionadded:: 2.0.0
     N/A default_consistency_level N/A ConsistencyLevel LOCAL_ONE N/A 
    The default :class:`~ConsistencyLevel` for operations executed through
    this session.  This default may be overridden by setting the
    :attr:`~.Statement.consistency_level` on individual statements.

    .. versionadded:: 1.2.0

    .. versionchanged:: 3.0.0

        default changed from ONE to LOCAL_ONE
     N/A default_serial_consistency_level None N/A 
    The default :class:`~ConsistencyLevel` for serial phase of  conditional updates executed through
    this session.  This default may be overridden by setting the
    :attr:`~.Statement.serial_consistency_level` on individual statements.

    Only valid for ``protocol_version >= 2``.
     N/A max_trace_wait 2.0 N/A 
    The maximum amount of time (in seconds) the driver will wait for trace
    details to be populated server-side for a query before giving up.
    If the `trace` parameter for :meth:`~.execute()` or :meth:`~.execute_async()`
    is :const:`True`, the driver will repeatedly attempt to fetch trace
    details for the query (using exponential backoff) until this limit is
    hit.  If the limit is passed, an error will be logged and the
    :attr:`.Statement.trace` will be left as :const:`None`.  N/A default_fetch_size 5000 N/A 
    By default, this many rows will be fetched at a time. Setting
    this to :const:`None` will disable automatic paging for large query
    results.  The fetch size can be also specified per-query through
    :attr:`.Statement.fetch_size`.

    This only takes effect when protocol version 2 or higher is used.
    See :attr:`.Cluster.protocol_version` for details.

    .. versionadded:: 2.0.0
     N/A use_client_timestamp True N/A 
    When using protocol version 3 or higher, write timestamps may be supplied
    client-side at the protocol level.  (Normally they are generated
    server-side by the coordinator node.)  Note that timestamps specified
    within a CQL query will override this timestamp.

    .. versionadded:: 2.1.0
     N/A encoder None N/A 
    A :class:`~cassandra.encoder.Encoder` instance that will be used when
    formatting query parameters for non-prepared statements.  This is not used
    for prepared statements (because prepared statements give the driver more
    information about what CQL types are expected, allowing it to accept a
    wider range of python types).

    The encoder uses a mapping from python types to encoder methods (for
    specific CQL types).  This mapping can be be modified by users as they see
    fit.  Methods of :class:`~cassandra.encoder.Encoder` should be used for mapping
    values if possible, because they take precautions to avoid injections and
    properly sanitize data.

    Example::

        cluster = Cluster()
        session = cluster.connect("mykeyspace")
        session.encoder.mapping[tuple] = session.encoder.cql_encode_tuple

        session.execute("CREATE TABLE mytable (k int PRIMARY KEY, col tuple<int, ascii>)")
        session.execute("INSERT INTO mytable (k, col) VALUES (%s, %s)", [0, (123, 'abc')])

    .. versionadded:: 2.1.0
     N/A client_protocol_handler ProtocolHandler N/A 
    Specifies a protocol handler that will be used for client-initiated requests (i.e. no
    internal driver requests). This can be used to override or extend features such as
    message or type ser/des.

    The default pure python implementation is :class:`cassandra.protocol.ProtocolHandler`.

    When compiled with Cython, there are also built-in faster alternatives. See :ref:`faster_deser`
     N/A _lock None N/A _pools None N/A _load_balancer None N/A _metrics None __init__ N/A N/A self cluster hosts N/A N/A N/A N/A self cluster cluster N/A N/A self hosts hosts N/A N/A self _lock N/A RLock N/A N/A self _pools N/A N/A N/A self _load_balancer N/A cluster load_balancing_policy N/A N/A self _metrics N/A cluster metrics N/A N/A self _protocol_version N/A N/A self cluster protocol_version N/A N/A self encoder N/A Encoder N/A futures N/A N/A host hosts N/A N/A future N/A N/A self add_or_renew_pool host is_host_addition False N/A N/A future None N/A N/A N/A N/A futures append future N/A future futures N/A N/A N/A N/A future result N/A execute N/A N/A self query parameters timeout trace custom_payload N/A None _NOT_SET False None N/A N/A 
        Execute the given query and synchronously wait for the response.

        If an error is encountered while executing the query, an Exception
        will be raised.

        `query` may be a query string or an instance of :class:`cassandra.query.Statement`.

        `parameters` may be a sequence or dict of parameters to bind.  If a
        sequence is used, ``%s`` should be used the placeholder for each
        argument.  If a dict is used, ``%(name)s`` style placeholders must
        be used.

        `timeout` should specify a floating-point timeout (in seconds) after
        which an :exc:`.OperationTimedOut` exception will be raised if the query
        has not completed.  If not set, the timeout defaults to
        :attr:`~.Session.default_timeout`.  If set to :const:`None`, there is
        no timeout. Please see :meth:`.ResponseFuture.result` for details on
        the scope and effect of this timeout.

        If `trace` is set to :const:`True`, the query will be sent with tracing enabled.
        The trace details can be obtained using the returned :class:`.ResultSet` object.

        `custom_payload` is a :ref:`custom_payload` dict to be passed to the server.
        If `query` is a Statement with its own custom_payload. The message payload
        will be a union of the two, with the values specified here taking precedence.
         N/A N/A N/A N/A N/A self execute_async query parameters trace custom_payload timeout result N/A execute_async N/A N/A self query parameters trace custom_payload timeout N/A None False None _NOT_SET N/A N/A 
        Execute the given query and return a :class:`~.ResponseFuture` object
        which callbacks may be attached to for asynchronous response
        delivery.  You may also call :meth:`~.ResponseFuture.result()`
        on the :class:`.ResponseFuture` to syncronously block for results at
        any time.

        If `trace` is set to :const:`True`, you may get the query trace descriptors using
        :meth:`.ResponseFuture.get_query_trace()` or :meth:`.ResponseFuture.get_all_query_traces()`
        on the future result.

        `custom_payload` is a :ref:`custom_payload` dict to be passed to the server.
        If `query` is a Statement with its own custom_payload. The message payload
        will be a union of the two, with the values specified here taking precedence.

        If the server sends a custom payload in the response message,
        the dict can be obtained following :meth:`.ResponseFuture.result` via
        :attr:`.ResponseFuture.custom_payload`

        Example usage::

            >>> session = cluster.connect()
            >>> future = session.execute_async("SELECT * FROM mycf")

            >>> def log_results(results):
            ...     for row in results:
            ...         log.info("Results: %s", row)

            >>> def log_error(exc):
            >>>     log.error("Operation failed: %s", exc)

            >>> future.add_callbacks(log_results, log_error)

        Async execution with blocking wait for results::

            >>> future = session.execute_async("SELECT * FROM mycf")
            >>> # do other stuff...

            >>> try:
            ...     results = future.result()
            ... except Exception:
            ...     log.exception("Operation failed:")

         N/A N/A timeout _NOT_SET N/A N/A timeout N/A self default_timeout N/A future N/A N/A self _create_response_future query parameters trace custom_payload timeout N/A N/A future _protocol_handler N/A self client_protocol_handler N/A N/A N/A future send_request N/A future N/A _create_response_future N/A N/A self query parameters trace custom_payload timeout N/A N/A N/A  Returns the ResponseFuture before calling send_request() on it  N/A prepared_statement None N/A N/A isinstance query N/A six string_types N/A N/A query N/A SimpleStatement query N/A N/A N/A isinstance query PreparedStatement N/A N/A query N/A N/A query bind parameters N/A cl N/A N/A N/A query consistency_level None N/A query consistency_level N/A self default_consistency_level N/A serial_cl N/A N/A N/A query serial_consistency_level None N/A query serial_consistency_level N/A self default_serial_consistency_level N/A fetch_size N/A query fetch_size N/A N/A N/A fetch_size FETCH_SIZE_UNSET N/A N/A self _protocol_version 2 N/A N/A fetch_size N/A self default_fetch_size N/A N/A N/A N/A self _protocol_version 1 N/A N/A fetch_size None N/A N/A N/A N/A self _protocol_version 3 N/A self use_client_timestamp N/A N/A timestamp N/A int N/A N/A N/A time time 1000000.0 N/A N/A timestamp None N/A N/A isinstance query SimpleStatement N/A N/A query_string N/A query query_string N/A parameters N/A N/A query_string N/A bind_params query_string parameters N/A self encoder N/A message N/A QueryMessage query_string cl serial_cl fetch_size timestamp timestamp N/A N/A N/A isinstance query BoundStatement N/A N/A message N/A ExecuteMessage N/A N/A query prepared_statement query_id N/A query values cl serial_cl fetch_size timestamp timestamp N/A prepared_statement N/A query prepared_statement N/A N/A N/A isinstance query BatchStatement N/A N/A N/A N/A self _protocol_version 2 N/A N/A N/A UnsupportedOperation BatchStatement execution is only supported with protocol version 2 or higher (supported in Cassandra 2.0 and higher).  Consider setting Cluster.protocol_version to 2 to support this operation. N/A message N/A BatchMessage N/A query batch_type N/A query _statements_and_parameters cl serial_cl timestamp N/A N/A message tracing trace N/A N/A N/A message update_custom_payload N/A query custom_payload N/A N/A N/A message update_custom_payload custom_payload N/A N/A ResponseFuture self message query timeout metrics N/A self _metrics prepared_statement prepared_statement N/A prepare N/A N/A self query custom_payload N/A None N/A N/A 
        Prepares a query string, returning a :class:`~cassandra.query.PreparedStatement`
        instance which can be used as follows::

            >>> session = cluster.connect("mykeyspace")
            >>> query = "INSERT INTO users (id, name, age) VALUES (?, ?, ?)"
            >>> prepared = session.prepare(query)
            >>> session.execute(prepared, (user.id, user.name, user.age))

        Or you may bind values to the prepared statement ahead of time::

            >>> prepared = session.prepare(query)
            >>> bound_stmt = prepared.bind((user.id, user.name, user.age))
            >>> session.execute(bound_stmt)

        Of course, prepared statements may (and should) be reused::

            >>> prepared = session.prepare(query)
            >>> for user in users:
            ...     bound = prepared.bind((user.id, user.name, user.age))
            ...     session.execute(bound)

        **Important**: PreparedStatements should be prepared only once.
        Preparing the same query more than once will likely affect performance.

        `custom_payload` is a key value map to be passed along with the prepare
        message. See :ref:`custom_payload`.
         N/A message N/A PrepareMessage query query N/A future N/A ResponseFuture self message query None timeout N/A self default_timeout N/A N/A N/A N/A N/A future send_request N/A N/A query_id column_metadata pk_indexes N/A N/A future result N/A N/A N/A Exception N/A N/A N/A N/A log exception Error preparing query: N/A N/A prepared_statement N/A N/A PreparedStatement from_message query_id column_metadata pk_indexes N/A N/A self cluster metadata query N/A self keyspace N/A self _protocol_version N/A N/A prepared_statement custom_payload N/A future custom_payload N/A host N/A future _current_host N/A N/A N/A N/A N/A N/A self cluster prepare_on_all_sessions query_id prepared_statement host N/A N/A N/A Exception N/A N/A N/A N/A log exception Error preparing query on all hosts: N/A prepared_statement N/A prepare_on_all_hosts N/A N/A self query excluded_host N/A N/A N/A 
        Prepare the given query on all hosts, excluding ``excluded_host``.
        Intended for internal use only.
         N/A futures N/A N/A host N/A N/A N/A self _pools keys N/A N/A N/A N/A host excluded_host N/A host is_up N/A N/A future N/A ResponseFuture self N/A PrepareMessage query query None N/A self default_timeout N/A N/A N/A request_id N/A N/A future _query host N/A N/A N/A Exception N/A N/A N/A N/A log exception Error preparing query for host %s: host N/A N/A N/A request_id None N/A N/A N/A N/A log debug Failed to prepare query for host %s: %r host N/A N/A N/A future _errors get host N/A N/A N/A N/A futures append N/A host future N/A N/A host future futures N/A N/A N/A N/A N/A N/A future result N/A N/A N/A Exception N/A N/A N/A N/A log exception Error preparing query for host %s: host N/A shutdown N/A N/A self N/A N/A N/A 
        Close all connections.  ``Session`` instances should not be used
        for any purpose after being shutdown.
         N/A N/A self _lock N/A N/A N/A self is_shutdown N/A N/A N/A N/A N/A self is_shutdown True N/A pool N/A N/A N/A self _pools values N/A N/A N/A N/A pool shutdown N/A add_or_renew_pool N/A N/A self host is_host_addition N/A N/A N/A 
        For internal use only.
         N/A distance N/A N/A N/A self _load_balancer distance host N/A N/A distance N/A HostDistance IGNORED N/A N/A None run_add_or_renew_pool N/A N/A N/A N/A N/A N/A N/A N/A N/A self _protocol_version 3 N/A N/A new_pool N/A HostConnection host distance self N/A N/A new_pool N/A HostConnectionPool host distance self N/A N/A N/A AuthenticationFailed N/A auth_exc N/A N/A conn_exc N/A ConnectionException N/A str auth_exc host host N/A N/A N/A N/A self cluster signal_connection_failure host conn_exc is_host_addition N/A False N/A N/A Exception N/A conn_exc N/A N/A N/A N/A log warning Failed to create connection pool for new host %s: host exc_info conn_exc N/A N/A N/A N/A self cluster signal_connection_failure host conn_exc is_host_addition expect_host_to_be_down True N/A False N/A previous N/A N/A N/A self _pools get host N/A N/A N/A self _pools N/A host new_pool N/A N/A N/A log debug Added pool for host %s to session host N/A previous N/A N/A N/A N/A previous shutdown N/A True N/A N/A N/A N/A self submit run_add_or_renew_pool N/A remove_pool N/A N/A self host N/A N/A N/A pool N/A N/A N/A self _pools pop host None N/A pool N/A N/A N/A N/A log debug Removed connection pool for %r host N/A N/A N/A self submit N/A pool shutdown N/A N/A None N/A update_created_pools N/A N/A self N/A N/A N/A 
        When the set of live nodes change, the loadbalancer will change its
        mind on host distances. It might change it on the node that came/left
        but also on other nodes (for instance, if a node dies, another
        previously ignored node may be now considered).

        This method ensures that all hosts for which a pool should exist
        have one, and hosts that shouldn't don't.

        For internal use only.
         N/A host N/A N/A N/A N/A self cluster metadata all_hosts N/A N/A distance N/A N/A N/A self _load_balancer distance host N/A pool N/A N/A N/A self _pools get host N/A N/A N/A pool N/A pool is_shutdown N/A N/A N/A N/A distance N/A HostDistance IGNORED N/A host is_up N/A N/A N/A N/A self add_or_renew_pool host False N/A N/A N/A distance N/A pool host_distance N/A N/A N/A distance N/A HostDistance IGNORED N/A N/A N/A N/A self remove_pool host N/A N/A N/A pool host_distance distance N/A on_down N/A N/A self host N/A N/A N/A 
        Called by the parent Cluster instance when a node is marked down.
        Only intended for internal use.
         N/A future N/A N/A self remove_pool host N/A future N/A N/A N/A N/A future add_done_callback N/A N/A N/A f N/A N/A N/A self update_created_pools N/A on_remove N/A N/A self host N/A N/A N/A  Internal  N/A N/A N/A self on_down host N/A set_keyspace N/A N/A self keyspace N/A N/A N/A 
        Set the default keyspace for all queries made through this Session.
        This operation blocks until complete.
         N/A N/A N/A self execute N/A USE %s N/A N/A protect_name keyspace N/A _set_keyspace_for_all_pools N/A N/A self keyspace callback N/A N/A N/A 
        Asynchronously sets the keyspace on all pools.  When all
        pools have set all of their connections, `callback` will be
        called with a dictionary of all errors that occurred, keyed
        by the `Host` that they occurred against.
         N/A N/A self keyspace keyspace N/A remaining_callbacks N/A set N/A N/A N/A self _pools values N/A errors N/A N/A N/A remaining_callbacks N/A N/A N/A callback errors N/A pool_finished_setting_keyspace N/A N/A pool host_errors N/A N/A N/A N/A N/A remaining_callbacks remove pool N/A host_errors N/A N/A N/A errors N/A N/A pool host host_errors N/A N/A remaining_callbacks N/A N/A N/A callback host_errors N/A N/A pool N/A N/A N/A self _pools values N/A N/A N/A N/A pool _set_keyspace_for_all_conns keyspace pool_finished_setting_keyspace N/A user_type_registered N/A N/A self keyspace user_type klass N/A N/A N/A 
        Called by the parent Cluster instance when the user registers a new
        mapping from a user-defined type to a class.  Intended for internal
        use only.
         N/A N/A N/A ks_meta N/A N/A N/A N/A self cluster metadata keyspaces N/A keyspace N/A N/A N/A KeyError N/A N/A N/A UserTypeDoesNotExist N/A Keyspace %s does not exist or has not been discovered by the driver N/A keyspace N/A N/A N/A type_meta N/A N/A ks_meta user_types N/A user_type N/A N/A N/A KeyError N/A N/A N/A UserTypeDoesNotExist N/A User type %s does not exist in keyspace %s N/A user_type keyspace N/A field_names N/A type_meta field_names N/A N/A six PY2 N/A N/A field_names N/A N/A N/A fn encode utf-8 N/A fn field_names encode N/A N/A val N/A N/A N/A N/A { %s } N/A N/A  ,  join N/A N/A %s : %s N/A field_name N/A N/A N/A self encoder cql_encode_all_types N/A getattr val field_name None N/A field_name field_names N/A N/A N/A N/A N/A self encoder mapping N/A klass encode N/A submit N/A N/A self fn N/A args kwargs N/A N/A  Internal  N/A N/A N/A self is_shutdown N/A N/A N/A N/A N/A N/A self cluster executor submit fn args kwargs N/A get_pool_state N/A N/A self N/A N/A N/A N/A dict N/A N/A host N/A N/A pool get_state N/A N/A host pool N/A N/A N/A self _pools items N/A get_pools N/A N/A self N/A N/A N/A N/A N/A N/A self _pools values N/A N/A UserTypeDoesNotExist N/A Exception N/A N/A 
    An attempt was made to use a user-defined type that does not exist.

    .. versionadded:: 2.1.0
     N/A N/A _ControlReconnectionHandler N/A _ReconnectionHandler N/A N/A 
    Internal
     __init__ N/A N/A self control_connection N/A args kwargs N/A N/A N/A N/A _ReconnectionHandler __init__ self args kwargs N/A N/A self control_connection N/A N/A weakref proxy control_connection N/A try_reconnect N/A N/A self N/A N/A N/A N/A N/A N/A self control_connection _reconnect_internal N/A on_reconnection N/A N/A self connection N/A N/A N/A N/A N/A N/A self control_connection _set_new_connection connection N/A on_exception N/A N/A self exc next_delay N/A N/A N/A N/A isinstance exc AuthenticationFailed N/A N/A False N/A N/A N/A N/A log debug Error trying to reconnect control connection: %r exc N/A True N/A N/A _watch_callback N/A N/A obj_weakref method_name N/A args kwargs N/A N/A 
    A callback handler for the ControlConnection that tolerates
    weak references.
     N/A obj N/A obj_weakref N/A N/A obj None N/A N/A N/A N/A N/A getattr obj method_name args kwargs N/A _clear_watcher N/A N/A conn expiring_weakref N/A N/A N/A 
    Called when the ControlConnection object is about to be finalized.
    This clears watchers on the underlying Connection object.
     N/A N/A N/A N/A N/A conn control_conn_disposed N/A N/A N/A ReferenceError N/A N/A N/A ControlConnection N/A object N/A N/A 
    Internal
     N/A _SELECT_PEERS SELECT * FROM system.peers N/A _SELECT_PEERS_NO_TOKENS SELECT peer, data_center, rack, rpc_address, release_version, schema_version FROM system.peers N/A _SELECT_LOCAL SELECT * FROM system.local WHERE key='local' N/A _SELECT_LOCAL_NO_TOKENS SELECT cluster_name, data_center, rack, partitioner, release_version, schema_version FROM system.local WHERE key='local' N/A _SELECT_SCHEMA_PEERS SELECT peer, rpc_address, schema_version FROM system.peers N/A _SELECT_SCHEMA_LOCAL SELECT schema_version FROM system.local WHERE key='local' N/A _is_shutdown False N/A _timeout None N/A _protocol_version None N/A _schema_event_refresh_window None N/A _topology_event_refresh_window None N/A _schema_meta_enabled True N/A _token_meta_enabled True N/A _time time __init__ N/A N/A self cluster timeout schema_event_refresh_window topology_event_refresh_window schema_meta_enabled token_meta_enabled N/A True True N/A N/A N/A self _cluster N/A N/A weakref proxy cluster N/A N/A self _connection None N/A N/A self _timeout timeout N/A N/A self _schema_event_refresh_window schema_event_refresh_window N/A N/A self _topology_event_refresh_window topology_event_refresh_window N/A N/A self _schema_meta_enabled schema_meta_enabled N/A N/A self _token_meta_enabled token_meta_enabled N/A N/A self _lock N/A RLock N/A N/A self _schema_agreement_lock N/A Lock N/A N/A self _reconnection_handler None N/A N/A self _reconnection_lock N/A RLock N/A N/A self _event_schedule_times N/A N/A connect N/A N/A self N/A N/A N/A N/A self _is_shutdown N/A N/A N/A N/A self _protocol_version N/A N/A self _cluster protocol_version N/A N/A N/A self _set_new_connection N/A N/A self _reconnect_internal N/A _set_new_connection N/A N/A self conn N/A N/A N/A 
        Replace existing connection (if there is one) and close it.
         N/A N/A self _lock N/A N/A old N/A self _connection N/A N/A self _connection conn N/A old N/A N/A N/A N/A log debug [control connection] Closing old connection %r, replacing with %r old conn N/A N/A N/A old close N/A _reconnect_internal N/A N/A self N/A N/A N/A 
        Tries to connect to each host in the query plan until one succeeds
        or every attempt fails. If successful, a new Connection will be
        returned.  Otherwise, :exc:`NoHostAvailable` will be raised
        with an "errors" arg that is a dict mapping host addresses
        to the exception that was raised when an attempt was made to open
        a connection to that host.
         N/A errors N/A N/A host N/A N/A N/A N/A self _cluster load_balancing_policy make_query_plan N/A N/A N/A N/A N/A N/A self _try_connect host N/A N/A N/A ConnectionException N/A exc N/A N/A N/A errors N/A N/A host address exc N/A N/A N/A log warning [control connection] Error connecting to %s: host exc_info True N/A N/A N/A N/A self _cluster signal_connection_failure host exc is_host_addition False N/A N/A Exception N/A exc N/A N/A N/A errors N/A N/A host address exc N/A N/A N/A log warning [control connection] Error connecting to %s: host exc_info True N/A N/A self _is_shutdown N/A N/A N/A DriverException [control connection] Reconnection in progress during shutdown N/A N/A NoHostAvailable Unable to connect to any servers errors N/A _try_connect N/A N/A self host N/A N/A N/A 
        Creates a new Connection, registers for pushed events, and refreshes
        node/token and schema metadata.
         N/A N/A N/A log debug [control connection] Opening new connection to %s host N/A True N/A N/A N/A N/A connection N/A N/A N/A self _cluster connection_factory N/A host address is_control_connection True N/A N/A self _is_shutdown N/A N/A N/A N/A connection close N/A N/A DriverException Reconnecting during shutdown N/A N/A N/A N/A ProtocolVersionUnsupported N/A e N/A N/A N/A N/A N/A self _cluster protocol_downgrade N/A host address N/A e startup_version N/A N/A N/A log debug [control connection] Established new connection %r, registering watchers and refreshing schema and topology connection N/A self_weakref N/A N/A weakref ref self callback N/A partial _clear_watcher N/A N/A weakref proxy connection N/A N/A N/A N/A N/A connection register_watchers N/A TOPOLOGY_CHANGE STATUS_CHANGE SCHEMA_CHANGE N/A partial _watch_callback self_weakref _handle_topology_change N/A partial _watch_callback self_weakref _handle_status_change N/A partial _watch_callback self_weakref _handle_schema_change register_timeout N/A self _timeout N/A sel_peers N/A N/A self _token_meta_enabled N/A self _SELECT_PEERS N/A self _SELECT_PEERS_NO_TOKENS N/A sel_local N/A N/A self _token_meta_enabled N/A self _SELECT_LOCAL N/A self _SELECT_LOCAL_NO_TOKENS N/A peers_query N/A QueryMessage query sel_peers consistency_level N/A ConsistencyLevel ONE N/A local_query N/A QueryMessage query sel_local consistency_level N/A ConsistencyLevel ONE N/A shared_results N/A N/A connection wait_for_responses peers_query local_query timeout N/A self _timeout N/A N/A N/A self _refresh_node_list_and_token_map connection preloaded_results shared_results N/A N/A N/A self _refresh_schema connection preloaded_results shared_results schema_agreement_wait -1 N/A N/A N/A Exception N/A N/A N/A N/A connection close N/A N/A connection N/A reconnect N/A N/A self N/A N/A N/A N/A self _is_shutdown N/A N/A N/A N/A N/A self _submit N/A self _reconnect N/A _reconnect N/A N/A self N/A N/A N/A N/A N/A log debug [control connection] Attempting to reconnect N/A N/A N/A N/A N/A self _set_new_connection N/A N/A self _reconnect_internal N/A N/A N/A NoHostAvailable N/A N/A schedule N/A N/A N/A N/A self cluster reconnection_policy new_schedule N/A N/A self _reconnection_lock N/A N/A N/A self _reconnection_handler N/A N/A N/A N/A N/A self _reconnection_handler cancel N/A N/A self _reconnection_handler N/A _ControlReconnectionHandler self N/A N/A self _cluster scheduler schedule N/A self _get_and_set_reconnection_handler new_handler None N/A N/A N/A N/A self _reconnection_handler start N/A N/A Exception N/A N/A N/A N/A log debug [control connection] error reconnecting exc_info True N/A N/A _get_and_set_reconnection_handler N/A N/A self new_handler N/A N/A N/A 
        Called by the _ControlReconnectionHandler when a new connection
        is successfully created.  Clears out the _reconnection_handler on
        this ControlConnection.
         N/A N/A self _reconnection_lock N/A N/A old N/A self _reconnection_handler N/A N/A self _reconnection_handler new_handler N/A old N/A _submit N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A N/A self _cluster is_shutdown N/A N/A N/A N/A N/A N/A self _cluster executor submit args kwargs N/A N/A N/A ReferenceError N/A N/A N/A None N/A shutdown N/A N/A self N/A N/A N/A N/A self _reconnection_lock N/A N/A N/A self _reconnection_handler N/A N/A N/A N/A N/A self _reconnection_handler cancel N/A N/A self _lock N/A N/A N/A self _is_shutdown N/A N/A N/A N/A N/A self _is_shutdown True N/A N/A N/A log debug Shutting down control connection N/A N/A self _connection N/A N/A N/A N/A N/A self _connection close N/A N/A self _connection None N/A refresh_schema N/A N/A self force N/A False kwargs N/A N/A N/A N/A N/A self _connection N/A N/A N/A N/A self _refresh_schema N/A self _connection force force kwargs N/A N/A N/A ReferenceError N/A N/A N/A N/A Exception N/A N/A N/A N/A log debug [control connection] Error refreshing schema exc_info True N/A N/A N/A self _signal_error N/A False N/A _refresh_schema N/A N/A self connection preloaded_results schema_agreement_wait force N/A None None False kwargs N/A N/A N/A N/A self _cluster is_shutdown N/A N/A False N/A agreed N/A N/A self wait_for_schema_agreement connection preloaded_results preloaded_results wait_time schema_agreement_wait N/A N/A N/A N/A self _schema_meta_enabled N/A force N/A N/A N/A N/A log debug [control connection] Skipping schema refresh because schema metadata is disabled N/A False N/A N/A agreed N/A N/A N/A N/A log debug Skipping schema refresh due to lack of schema agreement N/A False N/A N/A N/A N/A N/A self _cluster metadata refresh connection N/A self _timeout kwargs N/A True N/A refresh_node_list_and_token_map N/A N/A self force_token_rebuild N/A False N/A N/A N/A N/A N/A self _connection N/A N/A N/A N/A self _refresh_node_list_and_token_map N/A self _connection force_token_rebuild force_token_rebuild N/A True N/A N/A N/A ReferenceError N/A N/A N/A N/A Exception N/A N/A N/A N/A log debug [control connection] Error refreshing node list and token map exc_info True N/A N/A N/A self _signal_error N/A False N/A _refresh_node_list_and_token_map N/A N/A self connection preloaded_results force_token_rebuild N/A None False N/A N/A preloaded_results N/A N/A N/A N/A log debug [control connection] Refreshing node list and token map using preloaded results N/A peers_result N/A preloaded_results N/A 0 N/A local_result N/A preloaded_results N/A 1 N/A N/A cl N/A ConsistencyLevel ONE N/A N/A N/A self _token_meta_enabled N/A N/A N/A N/A log debug [control connection] Refreshing node list without token map N/A sel_peers N/A self _SELECT_PEERS_NO_TOKENS N/A sel_local N/A self _SELECT_LOCAL_NO_TOKENS N/A N/A N/A N/A log debug [control connection] Refreshing node list and token map N/A sel_peers N/A self _SELECT_PEERS N/A sel_local N/A self _SELECT_LOCAL N/A peers_query N/A QueryMessage query sel_peers consistency_level cl N/A local_query N/A QueryMessage query sel_local consistency_level cl N/A N/A peers_result local_result N/A N/A connection wait_for_responses peers_query local_query timeout N/A self _timeout N/A peers_result N/A dict_factory N/A peers_result results N/A partitioner None N/A token_map N/A N/A N/A local_result results N/A N/A local_rows N/A dict_factory N/A local_result results N/A local_row N/A local_rows N/A 0 N/A cluster_name N/A local_row N/A cluster_name N/A N/A N/A N/A self _cluster metadata cluster_name cluster_name N/A host N/A N/A N/A N/A self _cluster metadata get_host N/A connection host N/A host N/A N/A datacenter N/A N/A local_row get data_center N/A rack N/A N/A local_row get rack N/A N/A N/A self _update_location_info host datacenter rack N/A N/A host listen_address N/A N/A local_row get listen_address N/A N/A host broadcast_address N/A N/A local_row get broadcast_address N/A N/A host release_version N/A N/A local_row get release_version N/A partitioner N/A N/A local_row get partitioner N/A tokens N/A N/A local_row get tokens N/A N/A partitioner tokens N/A N/A N/A token_map N/A host tokens N/A should_rebuild_token_map N/A force_token_rebuild N/A N/A N/A N/A self _cluster metadata partitioner None N/A found_hosts N/A set N/A row peers_result N/A N/A addr N/A N/A self _rpc_from_peer_row row N/A tokens N/A N/A row get tokens None N/A N/A N/A tokens row N/A tokens N/A N/A N/A N/A log warning N/A Excluding host (%s) with no tokens in system.peers table of %s. N/A addr N/A connection host N/A N/A N/A N/A found_hosts add addr N/A host N/A N/A N/A N/A self _cluster metadata get_host addr N/A datacenter N/A N/A row get data_center N/A rack N/A N/A row get rack N/A N/A host None N/A N/A N/A N/A log debug [control connection] Found new host to connect to: %s addr N/A N/A host _ N/A N/A N/A self _cluster add_host addr datacenter rack signal True refresh_nodes False N/A should_rebuild_token_map True N/A N/A should_rebuild_token_map N/A N/A self _update_location_info host datacenter rack N/A N/A host broadcast_address N/A N/A row get peer N/A N/A host release_version N/A N/A row get release_version N/A N/A partitioner tokens N/A N/A N/A token_map N/A host tokens N/A old_host N/A N/A N/A N/A self _cluster metadata all_hosts N/A N/A N/A N/A N/A old_host address N/A connection host N/A N/A old_host address found_hosts N/A N/A should_rebuild_token_map True N/A N/A N/A old_host address N/A N/A self _cluster contact_points N/A N/A N/A N/A log debug [control connection] Removing host not found in peers metadata: %r old_host N/A N/A N/A N/A self _cluster remove_host old_host N/A N/A N/A log debug [control connection] Finished fetching ring info N/A N/A partitioner should_rebuild_token_map N/A N/A N/A N/A log debug [control connection] Rebuilding token map due to topology changes N/A N/A N/A N/A N/A self _cluster metadata rebuild_token_map partitioner token_map N/A _update_location_info N/A N/A self host datacenter rack N/A N/A N/A N/A N/A N/A host datacenter datacenter N/A N/A host rack rack N/A N/A False N/A N/A N/A N/A N/A self _cluster load_balancing_policy on_down host N/A N/A N/A host set_location_info datacenter rack N/A N/A N/A N/A N/A self _cluster load_balancing_policy on_up host N/A True N/A _delay_for_event_type N/A N/A self event_type delay_window N/A N/A N/A next_time N/A N/A N/A self _event_schedule_times get event_type 0 N/A now N/A N/A N/A self _time time N/A N/A now next_time N/A N/A this_time N/A next_time 0.01 N/A delay N/A this_time now N/A N/A delay N/A N/A random delay_window N/A this_time N/A now delay N/A N/A N/A self _event_schedule_times N/A event_type this_time N/A delay N/A _handle_topology_change N/A N/A self event N/A N/A N/A change_type N/A event N/A change_type N/A addr N/A N/A self _translate_address N/A N/A event N/A address N/A 0 N/A N/A N/A change_type NEW_NODE N/A change_type MOVED_NODE N/A N/A N/A N/A self _topology_event_refresh_window 0 N/A N/A delay N/A N/A self _delay_for_event_type topology_change N/A self _topology_event_refresh_window N/A N/A N/A N/A N/A self _cluster scheduler schedule_unique delay N/A self refresh_node_list_and_token_map N/A N/A N/A change_type REMOVED_NODE N/A N/A host N/A N/A N/A N/A self _cluster metadata get_host addr N/A N/A N/A N/A N/A self _cluster scheduler schedule_unique 0 N/A N/A self _cluster remove_host host N/A _handle_status_change N/A N/A self event N/A N/A N/A change_type N/A event N/A change_type N/A addr N/A N/A self _translate_address N/A N/A event N/A address N/A 0 N/A host N/A N/A N/A N/A self _cluster metadata get_host addr N/A N/A change_type UP N/A N/A delay N/A 1 N/A N/A self _delay_for_event_type status_change 0.5 N/A N/A host None N/A N/A N/A N/A N/A N/A self _cluster scheduler schedule_unique delay N/A self refresh_node_list_and_token_map N/A N/A N/A N/A N/A N/A self _cluster scheduler schedule_unique delay N/A N/A self _cluster on_up host N/A N/A N/A change_type DOWN N/A N/A N/A host None N/A N/A N/A N/A N/A self _cluster on_down host is_host_addition False N/A _translate_address N/A N/A self addr N/A N/A N/A N/A N/A N/A N/A self _cluster address_translator translate addr N/A _handle_schema_change N/A N/A self event N/A N/A N/A N/A N/A self _schema_event_refresh_window 0 N/A N/A N/A delay N/A N/A self _delay_for_event_type schema_change N/A self _schema_event_refresh_window N/A N/A N/A N/A N/A self _cluster scheduler schedule_unique delay N/A self refresh_schema event N/A wait_for_schema_agreement N/A N/A self connection preloaded_results wait_time N/A None None None N/A N/A total_timeout N/A N/A wait_time None wait_time N/A N/A self _cluster max_schema_agreement_wait N/A N/A total_timeout 0 N/A N/A True N/A N/A self _schema_agreement_lock N/A N/A N/A self _is_shutdown N/A N/A N/A N/A connection N/A N/A connection N/A self _connection N/A preloaded_results N/A N/A N/A N/A log debug [control connection] Attempting to use preloaded results for schema agreement N/A peers_result N/A preloaded_results N/A 0 N/A local_result N/A preloaded_results N/A 1 N/A schema_mismatches N/A N/A self _get_schema_mismatches peers_result local_result N/A connection host N/A N/A schema_mismatches None N/A N/A True N/A N/A N/A log debug [control connection] Waiting for schema agreement N/A start N/A N/A N/A self _time time N/A elapsed 0 N/A cl N/A ConsistencyLevel ONE N/A schema_mismatches None N/A N/A elapsed total_timeout N/A N/A peers_query N/A QueryMessage query N/A self _SELECT_SCHEMA_PEERS consistency_level cl N/A local_query N/A QueryMessage query N/A self _SELECT_SCHEMA_LOCAL consistency_level cl N/A N/A N/A timeout N/A min N/A self _timeout N/A total_timeout elapsed N/A N/A peers_result local_result N/A N/A connection wait_for_responses peers_query local_query timeout timeout N/A N/A N/A OperationTimedOut N/A timeout N/A N/A N/A N/A log debug [control connection] Timed out waiting for response during schema agreement check: %s timeout N/A elapsed N/A N/A N/A N/A self _time time start N/A N/A N/A ConnectionShutdown N/A N/A N/A self _is_shutdown N/A N/A N/A N/A log debug [control connection] Aborting wait for schema match due to shutdown N/A None N/A N/A N/A schema_mismatches N/A N/A self _get_schema_mismatches peers_result local_result N/A connection host N/A N/A schema_mismatches None N/A N/A True N/A N/A N/A log debug [control connection] Schemas mismatched, trying again N/A N/A N/A N/A self _time sleep 0.2 N/A elapsed N/A N/A N/A N/A self _time time start N/A N/A N/A log warning Node %s is reporting a schema disagreement: %s N/A connection host schema_mismatches N/A False N/A _get_schema_mismatches N/A N/A self peers_result local_result local_address N/A N/A N/A peers_result N/A dict_factory N/A peers_result results N/A versions N/A defaultdict set N/A N/A local_result results N/A N/A local_row N/A N/A dict_factory N/A local_result results N/A 0 N/A N/A N/A local_row get schema_version N/A N/A N/A N/A N/A versions N/A N/A N/A local_row get schema_version add local_address N/A row peers_result N/A N/A schema_ver N/A N/A row get schema_version N/A N/A schema_ver N/A N/A N/A addr N/A N/A self _rpc_from_peer_row row N/A peer N/A N/A N/A N/A self _cluster metadata get_host addr N/A N/A peer N/A peer is_up N/A N/A N/A N/A N/A versions N/A schema_ver add addr N/A N/A N/A len versions 1 N/A N/A N/A N/A log debug [control connection] Schemas match N/A None N/A N/A dict N/A N/A version N/A list nodes N/A N/A version nodes N/A N/A six iteritems versions N/A _rpc_from_peer_row N/A N/A self row N/A N/A N/A addr N/A N/A row get rpc_address N/A N/A N/A addr N/A addr N/A 0.0.0.0 :: N/A N/A addr N/A N/A row get peer N/A N/A N/A self _translate_address addr N/A _signal_error N/A N/A self N/A N/A N/A N/A self _lock N/A N/A N/A self _is_shutdown N/A N/A N/A N/A N/A self _connection N/A N/A self _connection is_defunct N/A N/A host N/A N/A N/A N/A self _cluster metadata get_host N/A N/A self _connection host N/A host N/A N/A N/A N/A N/A self _cluster signal_connection_failure host N/A N/A self _connection last_error is_host_addition False N/A N/A N/A N/A self reconnect N/A on_up N/A N/A self host N/A N/A N/A N/A on_down N/A N/A self host N/A N/A N/A conn N/A self _connection N/A N/A conn N/A N/A conn host N/A host address N/A N/A self _reconnection_handler None N/A N/A N/A N/A log debug [control connection] Control connection host (%s) is considered down, starting reconnection host N/A N/A N/A self reconnect N/A on_add N/A N/A self host refresh_nodes N/A True N/A N/A refresh_nodes N/A N/A N/A N/A self refresh_node_list_and_token_map force_token_rebuild True N/A on_remove N/A N/A self host N/A N/A N/A N/A N/A self refresh_node_list_and_token_map force_token_rebuild True N/A get_connections N/A N/A self N/A N/A N/A c N/A getattr self _connection None N/A N/A c N/A c N/A N/A return_connection N/A N/A self connection N/A N/A N/A N/A N/A connection N/A self _connection N/A N/A connection is_defunct N/A connection is_closed N/A N/A N/A N/A self reconnect N/A N/A _stop_scheduler N/A N/A scheduler thread N/A N/A N/A N/A N/A N/A N/A scheduler is_shutdown N/A N/A N/A N/A scheduler shutdown N/A N/A N/A ReferenceError N/A N/A N/A N/A N/A thread join N/A _Scheduler N/A object N/A N/A _queue None N/A _scheduled_tasks None N/A _executor None N/A is_shutdown False __init__ N/A N/A self executor N/A N/A N/A N/A self _queue N/A N/A Queue PriorityQueue N/A N/A self _scheduled_tasks N/A set N/A N/A self _count N/A count N/A N/A self _executor executor N/A t N/A Thread target N/A self run name Task Scheduler N/A N/A t daemon True N/A N/A N/A t start N/A N/A N/A atexit register N/A partial _stop_scheduler N/A N/A weakref proxy self t N/A shutdown N/A N/A self N/A N/A N/A N/A N/A N/A N/A log debug Shutting down Cluster Scheduler N/A N/A N/A AttributeError N/A N/A N/A N/A self is_shutdown True N/A N/A N/A N/A self _queue put_nowait N/A 0 0 None N/A schedule N/A N/A self delay fn N/A args kwargs N/A N/A N/A N/A self _insert_task delay N/A fn args N/A tuple N/A N/A kwargs items N/A schedule_unique N/A N/A self delay fn N/A args kwargs N/A N/A task N/A fn args N/A tuple N/A N/A kwargs items N/A N/A task N/A self _scheduled_tasks N/A N/A N/A N/A self _insert_task delay task N/A N/A N/A N/A log debug Ignoring schedule_unique for already-scheduled task: %r task N/A _insert_task N/A N/A self delay task N/A N/A N/A N/A N/A self is_shutdown N/A N/A run_at N/A N/A N/A time time delay N/A N/A N/A N/A self _scheduled_tasks add task N/A N/A N/A N/A self _queue put_nowait N/A run_at N/A next N/A self _count task N/A N/A N/A N/A log debug Ignoring scheduled task after shutdown: %r task N/A run N/A N/A self N/A N/A N/A True N/A N/A N/A self is_shutdown N/A N/A N/A N/A N/A True N/A N/A N/A run_at i task N/A N/A N/A self _queue get block True timeout None N/A N/A self is_shutdown N/A N/A N/A N/A log debug Not executing scheduled task due to Scheduler shutdown N/A N/A N/A run_at N/A N/A time time N/A N/A N/A N/A N/A self _scheduled_tasks discard task N/A N/A fn args kwargs task N/A kwargs N/A dict kwargs N/A future N/A N/A N/A self _executor submit fn args kwargs N/A N/A N/A future add_done_callback N/A self _log_if_failed N/A N/A N/A N/A N/A self _queue put_nowait N/A run_at i task N/A N/A N/A N/A N/A Queue Empty N/A N/A N/A N/A N/A time sleep 0.1 N/A _log_if_failed N/A N/A self future N/A N/A N/A exc N/A N/A future exception N/A exc N/A N/A N/A N/A log warning An internally scheduled tasked failed with an unhandled exception: exc_info exc N/A N/A refresh_schema_and_set_result N/A N/A control_conn response_future N/A kwargs N/A N/A N/A N/A N/A N/A N/A N/A log debug Refreshing schema in response to schema change. %s kwargs N/A N/A response_future is_schema_agreed N/A N/A control_conn _refresh_schema N/A response_future _connection kwargs N/A N/A N/A Exception N/A N/A N/A N/A log exception Exception refreshing schema in response to schema change: N/A N/A N/A N/A response_future session submit N/A control_conn refresh_schema kwargs N/A N/A N/A N/A response_future _set_final_result None N/A ResponseFuture N/A object N/A N/A 
    An asynchronous response delivery mechanism that is returned from calls
    to :meth:`.Session.execute_async()`.

    There are two ways for results to be delivered:
     - Synchronously, by calling :meth:`.result()`
     - Asynchronously, by attaching callback and errback functions via
       :meth:`.add_callback()`, :meth:`.add_errback()`, and
       :meth:`.add_callbacks()`.
     N/A query None N/A 
    The :class:`~.Statement` instance that is being executed through this
    :class:`.ResponseFuture`.
     N/A is_schema_agreed True N/A 
    For DDL requests, this may be set ``False`` if the schema agreement poll after the response fails.

    Always ``True`` for non-DDL requests.
     N/A session None N/A row_factory None N/A message None N/A default_timeout None N/A _req_id None N/A _final_result _NOT_SET N/A _col_names None N/A _final_exception None N/A _query_traces None N/A _callbacks None N/A _errbacks None N/A _current_host None N/A _current_pool None N/A _connection None N/A _query_retries 0 N/A _start_time None N/A _metrics None N/A _paging_state None N/A _custom_payload None N/A _warnings None N/A _timer None N/A _protocol_handler ProtocolHandler N/A _warned_timeout False __init__ N/A N/A self session message query timeout metrics prepared_statement N/A None None N/A N/A N/A self session session N/A N/A self row_factory N/A session row_factory N/A N/A self message message N/A N/A self query query N/A N/A self timeout timeout N/A N/A self _metrics metrics N/A N/A self prepared_statement prepared_statement N/A N/A self _callback_lock N/A Lock N/A N/A metrics None N/A N/A N/A self _start_time N/A N/A time time N/A N/A N/A self _make_query_plan N/A N/A self _event N/A Event N/A N/A self _errors N/A N/A N/A self _callbacks N/A N/A N/A self _errbacks N/A N/A _start_timer N/A N/A self N/A N/A N/A N/A N/A self timeout None N/A N/A N/A self _timer N/A N/A N/A N/A N/A self session cluster connection_class create_timer N/A self timeout N/A self _on_timeout N/A _cancel_timer N/A N/A self N/A N/A N/A N/A self _timer N/A N/A N/A N/A N/A self _timer cancel N/A _on_timeout N/A N/A self N/A N/A N/A errors N/A self _errors N/A N/A errors N/A N/A N/A self is_schema_agreed N/A N/A errors N/A N/A N/A self _current_host address Client request timeout. See Session.execute[_async](timeout) N/A N/A connection N/A getattr N/A N/A N/A self session cluster control_connection _connection N/A host N/A connection N/A connection host unknown N/A errors N/A host Request timed out while waiting for schema agreement. See Session.execute[_async](timeout) and Cluster.max_schema_agreement_wait. N/A N/A N/A self _set_final_exception N/A OperationTimedOut errors N/A self _current_host N/A _make_query_plan N/A N/A self N/A N/A N/A N/A self query_plan N/A iter N/A N/A N/A N/A self session _load_balancer make_query_plan N/A N/A self session keyspace N/A self query N/A send_request N/A N/A self N/A N/A N/A  Internal  N/A start N/A N/A time time N/A host N/A self query_plan N/A N/A req_id N/A N/A self _query host N/A N/A req_id None N/A N/A N/A self _req_id req_id N/A N/A N/A self _timer None N/A N/A N/A N/A self _start_timer N/A N/A N/A N/A N/A self timeout None N/A N/A N/A N/A time time start N/A self timeout N/A N/A N/A N/A self _on_timeout N/A N/A N/A N/A self _set_final_exception N/A NoHostAvailable Unable to complete the operation against any hosts N/A self _errors N/A _query N/A N/A self host message cb N/A None None N/A N/A N/A message None N/A N/A message N/A self message N/A N/A cb None N/A N/A cb N/A self _set_result N/A pool N/A N/A N/A N/A self session _pools get host N/A N/A pool N/A N/A N/A N/A self _errors N/A host N/A ConnectionException Host has been marked down or removed N/A None N/A N/A N/A pool is_shutdown N/A N/A N/A N/A self _errors N/A host N/A ConnectionException Pool is shutdown N/A None N/A N/A self _current_host host N/A N/A self _current_pool pool N/A connection None N/A N/A N/A N/A connection request_id N/A N/A pool borrow_connection timeout 2.0 N/A N/A self _connection connection N/A N/A N/A connection send_msg message request_id cb cb encoder N/A N/A self _protocol_handler encode_message decoder N/A N/A self _protocol_handler decode_message N/A request_id N/A N/A N/A NoConnectionsAvailable N/A exc N/A N/A N/A N/A log debug All connections for host %s are at capacity, moving to the next host host N/A N/A N/A self _errors N/A host exc N/A None N/A N/A Exception N/A exc N/A N/A N/A N/A log debug Error querying host %s host exc_info True N/A N/A N/A self _errors N/A host exc N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A self _metrics on_connection_error N/A connection N/A N/A N/A N/A pool return_connection connection N/A None N/A has_more_pages N/A N/A self N/A N/A N/A 
        Returns :const:`True` if there are more pages left in the
        query results, :const:`False` otherwise.  This should only
        be checked after the first page has been returned.

        .. versionadded:: 2.0.0
         N/A N/A N/A self _paging_state None N/A property warnings N/A N/A self N/A N/A N/A 
        Warnings returned from the server, if any. This will only be
        set for protocol_version 4+.

        Warnings may be returned for such things as oversized batches,
        or too many tombstones in slice queries.

        Ensure the future is complete before trying to access this property
        (call :meth:`.result()`, or after callback is invoked).
        Otherwise it may throw if the response has not been received.
         N/A N/A N/A N/A N/A self _event is_set N/A N/A N/A DriverException warnings cannot be retrieved before ResponseFuture is finalized N/A N/A self _warnings N/A property custom_payload N/A N/A self N/A N/A N/A 
        The custom payload returned from the server, if any. This will only be
        set by Cassandra servers implementing a custom QueryHandler, and only
        for protocol_version 4+.

        Ensure the future is complete before trying to access this property
        (call :meth:`.result()`, or after callback is invoked).
        Otherwise it may throw if the response has not been received.

        :return: :ref:`custom_payload`.
         N/A N/A N/A N/A N/A self _event is_set N/A N/A N/A DriverException custom_payload cannot be retrieved before ResponseFuture is finalized N/A N/A self _custom_payload N/A property start_fetching_next_page N/A N/A self N/A N/A N/A 
        If there are more pages left in the query result, this asynchronously
        starts fetching the next page.  If there are no pages left, :exc:`.QueryExhausted`
        is raised.  Also see :attr:`.has_more_pages`.

        This should only be called after the first page has been returned.

        .. versionadded:: 2.0.0
         N/A N/A N/A self _paging_state N/A N/A N/A QueryExhausted N/A N/A N/A self _make_query_plan N/A N/A N/A self message paging_state N/A self _paging_state N/A N/A N/A N/A self _event clear N/A N/A self _final_result _NOT_SET N/A N/A self _final_exception None N/A N/A self _timer None N/A N/A N/A self send_request N/A _reprepare N/A N/A self prepare_message N/A N/A N/A cb N/A partial N/A N/A self session submit N/A self _execute_after_prepare N/A request_id N/A N/A self _query N/A self _current_host prepare_message cb cb N/A N/A request_id None N/A N/A N/A N/A self send_request N/A _set_result N/A N/A self response N/A N/A N/A N/A N/A N/A N/A self _current_pool N/A self _connection N/A N/A N/A N/A N/A self _current_pool return_connection N/A self _connection N/A trace_id N/A getattr response trace_id None N/A trace_id N/A N/A N/A N/A self _query_traces N/A N/A N/A self _query_traces N/A N/A N/A N/A N/A self _query_traces append N/A QueryTrace trace_id N/A self session N/A N/A self _warnings N/A getattr response warnings None N/A N/A self _custom_payload N/A getattr response custom_payload None N/A N/A isinstance response ResultMessage N/A N/A N/A N/A response kind RESULT_KIND_SET_KEYSPACE N/A N/A session N/A getattr self session None N/A session N/A N/A N/A N/A session _set_keyspace_for_all_pools N/A response results N/A self _set_keyspace_completed N/A N/A N/A N/A response kind RESULT_KIND_SCHEMA_CHANGE N/A N/A N/A self is_schema_agreed False N/A N/A N/A N/A self session submit refresh_schema_and_set_result N/A N/A N/A self session cluster control_connection self N/A response results N/A N/A results N/A getattr response results None N/A N/A N/A results None N/A N/A response kind RESULT_KIND_ROWS N/A N/A N/A self _paging_state N/A response paging_state N/A N/A self _col_names N/A results N/A 0 N/A results N/A N/A self row_factory results N/A N/A N/A self _set_final_result results N/A N/A N/A isinstance response ErrorMessage N/A N/A retry_policy None N/A N/A self query N/A N/A retry_policy N/A N/A self query retry_policy N/A N/A retry_policy N/A N/A retry_policy N/A N/A N/A self session cluster default_retry_policy N/A N/A isinstance response ReadTimeoutErrorMessage N/A N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A self _metrics on_read_timeout N/A retry N/A N/A retry_policy on_read_timeout N/A self query retry_num N/A self _query_retries N/A response info N/A N/A N/A isinstance response WriteTimeoutErrorMessage N/A N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A self _metrics on_write_timeout N/A retry N/A N/A retry_policy on_write_timeout N/A self query retry_num N/A self _query_retries N/A response info N/A N/A N/A isinstance response UnavailableErrorMessage N/A N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A self _metrics on_unavailable N/A retry N/A N/A retry_policy on_unavailable N/A self query retry_num N/A self _query_retries N/A response info N/A N/A N/A isinstance response OverloadedErrorMessage N/A N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A self _metrics on_other_error N/A N/A N/A log warning Host %s is overloaded, retrying against a different host N/A self _current_host N/A N/A N/A self _retry reuse_connection False consistency_level None N/A N/A N/A N/A isinstance response IsBootstrappingErrorMessage N/A N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A self _metrics on_other_error N/A N/A N/A self _retry reuse_connection False consistency_level None N/A N/A N/A N/A isinstance response PreparedQueryNotFound N/A N/A N/A self prepared_statement N/A N/A query_id N/A N/A self prepared_statement query_id N/A N/A query_id N/A response info N/A Got different query ID in server response (%s) than we had before (%s) N/A N/A response info query_id N/A N/A query_id N/A response info N/A N/A N/A prepared_statement N/A N/A N/A N/A self session cluster _prepared_statements N/A query_id N/A N/A N/A KeyError N/A N/A N/A N/A self prepared_statement N/A N/A N/A N/A log error Tried to execute unknown prepared statement: id=%s N/A N/A query_id encode hex N/A N/A N/A self _set_final_exception response N/A N/A N/A prepared_statement N/A self prepared_statement N/A N/A N/A N/A N/A self session cluster _prepared_statements N/A query_id prepared_statement N/A current_keyspace N/A N/A self _connection keyspace N/A prepared_keyspace N/A prepared_statement keyspace N/A N/A prepared_keyspace N/A current_keyspace prepared_keyspace N/A N/A N/A N/A self _set_final_exception N/A ValueError N/A The Session's current keyspace (%s) does not match the keyspace the statement was prepared with (%s) N/A current_keyspace prepared_keyspace N/A N/A N/A N/A log debug Re-preparing unrecognized prepared statement against host %s: %s N/A self _current_host N/A prepared_statement query_string N/A prepare_message N/A PrepareMessage query N/A prepared_statement query_string N/A N/A N/A N/A self session submit N/A self _reprepare prepare_message N/A N/A N/A N/A hasattr response to_exception N/A N/A N/A N/A self _set_final_exception N/A N/A response to_exception N/A N/A N/A N/A self _set_final_exception response N/A N/A N/A retry_type consistency retry N/A N/A retry_type N/A N/A RetryPolicy RETRY N/A RetryPolicy RETRY_NEXT_HOST N/A N/A N/A self _query_retries 1 N/A reuse N/A retry_type N/A RetryPolicy RETRY N/A N/A N/A self _retry reuse_connection reuse consistency_level consistency N/A N/A N/A retry_type N/A RetryPolicy RETHROW N/A N/A N/A N/A self _set_final_exception N/A N/A response to_exception N/A N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A self _metrics on_ignore N/A N/A N/A self _set_final_result None N/A N/A N/A self _errors N/A N/A self _current_host N/A N/A response to_exception N/A N/A N/A isinstance response ConnectionException N/A N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A self _metrics on_connection_error N/A N/A N/A isinstance response ConnectionShutdown N/A N/A N/A N/A N/A self _connection defunct response N/A N/A N/A self _retry reuse_connection False consistency_level None N/A N/A N/A isinstance response Exception N/A N/A N/A hasattr response to_exception N/A N/A N/A N/A self _set_final_exception N/A N/A response to_exception N/A N/A N/A N/A self _set_final_exception response N/A N/A msg N/A Got unexpected message: %r N/A response N/A exc N/A ConnectionException msg N/A self _current_host N/A N/A N/A N/A self _connection defunct exc N/A N/A N/A self _set_final_exception exc N/A N/A N/A Exception N/A exc N/A N/A N/A N/A log exception Unexpected exception while handling result in ResponseFuture: N/A N/A N/A self _set_final_exception exc N/A _set_keyspace_completed N/A N/A self errors N/A N/A N/A N/A errors N/A N/A N/A N/A self _set_final_result None N/A N/A N/A N/A self _set_final_exception N/A ConnectionException N/A Failed to set keyspace on all hosts: %s N/A errors N/A _execute_after_prepare N/A N/A self response N/A N/A N/A 
        Handle the response to our attempt to prepare a statement.
        If it succeeded, run the original query again against the same host.
         N/A N/A N/A self _current_pool N/A self _connection N/A N/A N/A N/A N/A self _current_pool return_connection N/A self _connection N/A N/A self _final_exception N/A N/A N/A N/A isinstance response ResultMessage N/A N/A N/A N/A response kind RESULT_KIND_PREPARED N/A N/A request_id N/A N/A self _query N/A self _current_host N/A N/A request_id None N/A N/A N/A N/A self send_request N/A N/A N/A N/A self _set_final_exception N/A ConnectionException N/A Got unexpected response when preparing statement on host %s: %s N/A N/A self _current_host response N/A N/A N/A isinstance response ErrorMessage N/A N/A N/A hasattr response to_exception N/A N/A N/A N/A self _set_final_exception N/A N/A response to_exception N/A N/A N/A N/A self _set_final_exception response N/A N/A N/A isinstance response ConnectionException N/A N/A N/A N/A log debug Connection error when preparing statement on host %s: %s N/A self _current_host response N/A N/A N/A self _errors N/A N/A self _current_host response N/A N/A N/A self send_request N/A N/A N/A N/A self _set_final_exception N/A ConnectionException N/A Got unexpected response type when preparing statement on host %s: %s N/A N/A self _current_host response N/A _set_final_result N/A N/A self response N/A N/A N/A N/A N/A self _cancel_timer N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A N/A self _metrics request_timer addValue N/A N/A N/A time time N/A self _start_time N/A N/A self _callback_lock N/A N/A N/A self _final_result response N/A N/A N/A N/A self _event set N/A callback N/A self _callbacks N/A N/A N/A fn args kwargs callback N/A N/A fn response args kwargs N/A _set_final_exception N/A N/A self response N/A N/A N/A N/A N/A self _cancel_timer N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A N/A self _metrics request_timer addValue N/A N/A N/A time time N/A self _start_time N/A N/A self _callback_lock N/A N/A N/A self _final_exception response N/A N/A N/A N/A self _event set N/A errback N/A self _errbacks N/A N/A N/A fn args kwargs errback N/A N/A fn response args kwargs N/A _retry N/A N/A self reuse_connection consistency_level N/A N/A N/A N/A self _final_exception N/A N/A N/A N/A N/A self _metrics None N/A N/A N/A N/A N/A self _metrics on_retry N/A N/A consistency_level None N/A N/A N/A N/A self message consistency_level consistency_level N/A N/A N/A N/A self session submit N/A self _retry_task reuse_connection N/A _retry_task N/A N/A self reuse_connection N/A N/A N/A N/A self _final_exception N/A N/A N/A N/A reuse_connection N/A N/A N/A self _query N/A self _current_host None N/A N/A N/A N/A N/A self send_request N/A result N/A N/A self N/A N/A N/A 
        Return the final result or raise an Exception if errors were
        encountered.  If the final result or error has not been set
        yet, this method will block until it is set, or the timeout
        set for the request expires.

        Timeout is specified in the Session request execution functions.
        If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` will be raised.
        This is a client-side timeout. For more information
        about server-side coordinator timeouts, see :class:`.policies.RetryPolicy`.

        Example usage::

            >>> future = session.execute_async("SELECT * FROM mycf")
            >>> # do other stuff...

            >>> try:
            ...     rows = future.result()
            ...     for row in rows:
            ...         ... # process results
            ... except Exception:
            ...     log.exception("Operation failed:")

         N/A N/A N/A N/A self _event wait N/A N/A N/A self _final_result _NOT_SET N/A N/A N/A ResultSet self N/A self _final_result N/A N/A N/A self _final_exception N/A get_query_trace_ids N/A N/A self N/A N/A N/A 
        Returns the trace session ids for this future, if tracing was enabled (does not fetch trace data).
         N/A N/A N/A trace trace_id N/A trace N/A self _query_traces N/A get_query_trace N/A N/A self max_wait query_cl N/A None N/A ConsistencyLevel LOCAL_ONE N/A N/A 
        Fetches and returns the query trace of the last response, or `None` if tracing was
        not enabled.

        Note that this may raise an exception if there are problems retrieving the trace
        details from Cassandra. If the trace is not available after `max_wait`,
        :exc:`cassandra.query.TraceUnavailable` will be raised.

        `query_cl` is the consistency level used to poll the trace tables.
         N/A N/A self _query_traces N/A N/A N/A N/A self _get_query_trace N/A N/A len N/A self _query_traces 1 max_wait query_cl N/A get_all_query_traces N/A N/A self max_wait_per query_cl N/A None N/A ConsistencyLevel LOCAL_ONE N/A N/A 
        Fetches and returns the query traces for all query pages, if tracing was enabled.

        See note in :meth:`~.get_query_trace` regarding possible exceptions.
         N/A N/A self _query_traces N/A N/A N/A N/A N/A self _get_query_trace i max_wait_per query_cl N/A i N/A range N/A len N/A self _query_traces N/A N/A N/A _get_query_trace N/A N/A self i max_wait query_cl N/A N/A N/A trace N/A N/A self _query_traces N/A i N/A N/A N/A trace events N/A N/A N/A N/A trace populate max_wait max_wait query_cl query_cl N/A trace N/A add_callback N/A N/A self fn N/A args kwargs N/A N/A 
        Attaches a callback function to be called when the final results arrive.

        By default, `fn` will be called with the results as the first and only
        argument.  If `*args` or `**kwargs` are supplied, they will be passed
        through as additional positional or keyword arguments to `fn`.

        If an error is hit while executing the operation, a callback attached
        here will not be called.  Use :meth:`.add_errback()` or :meth:`add_callbacks()`
        if you wish to handle that case.

        If the final result has already been seen when this method is called,
        the callback will be called immediately (before this method returns).

        Note: in the case that the result is not available when the callback is added,
        the callback is executed by IO event thread. This means that the callback
        should not block or attempt further synchronous requests, because no further
        IO will be processed until the callback returns.

        **Important**: if the callback you attach results in an exception being
        raised, **the exception will be ignored**, so please ensure your
        callback handles all error cases that you care about.

        Usage example::

            >>> session = cluster.connect("mykeyspace")

            >>> def handle_results(rows, start_time, should_log=False):
            ...     if should_log:
            ...         log.info("Total time: %f", time.time() - start_time)
            ...     ...

            >>> future = session.execute_async("SELECT * FROM users")
            >>> future.add_callback(handle_results, time.time(), should_log=True)

         N/A run_now False N/A N/A self _callback_lock N/A N/A N/A N/A self _final_result _NOT_SET N/A N/A run_now True N/A N/A N/A N/A N/A self _callbacks append N/A fn args kwargs N/A run_now N/A N/A N/A fn N/A self _final_result args kwargs N/A self N/A add_errback N/A N/A self fn N/A args kwargs N/A N/A 
        Like :meth:`.add_callback()`, but handles error cases.
        An Exception instance will be passed as the first positional argument
        to `fn`.
         N/A run_now False N/A N/A self _callback_lock N/A N/A N/A self _final_exception N/A N/A run_now True N/A N/A N/A N/A N/A self _errbacks append N/A fn args kwargs N/A run_now N/A N/A N/A fn N/A self _final_exception args kwargs N/A self N/A add_callbacks N/A N/A self callback errback callback_args callback_kwargs errback_args errback_kwargs N/A N/A None N/A None N/A N/A 
        A convenient combination of :meth:`.add_callback()` and
        :meth:`.add_errback()`.

        Example usage::

            >>> session = cluster.connect()
            >>> query = "SELECT * FROM mycf"
            >>> future = session.execute_async(query)

            >>> def log_results(results, level='debug'):
            ...     for row in results:
            ...         log.log(level, "Result: %s", row)

            >>> def log_error(exc, query):
            ...     log.error("Query '%s' failed: %s", query, exc)

            >>> future.add_callbacks(
            ...     callback=log_results, callback_kwargs={'level': 'info'},
            ...     errback=log_error, errback_args=(query,))

         N/A N/A N/A self add_callback callback callback_args N/A callback_kwargs N/A N/A N/A N/A self add_errback errback errback_args N/A errback_kwargs N/A N/A clear_callbacks N/A N/A self N/A N/A N/A N/A self _callback_lock N/A N/A N/A self _callback N/A N/A N/A self _errback N/A N/A __str__ N/A N/A self N/A N/A N/A result N/A N/A N/A self _final_result _NOT_SET (no result yet) N/A self _final_result N/A N/A <ResponseFuture: query='%s' request_id=%s result=%s exception=%s host=%s> N/A N/A self query N/A self _req_id result N/A self _final_exception N/A self _current_host N/A N/A __repr__ __str__ N/A QueryExhausted N/A Exception N/A N/A 
    Raised when :meth:`.ResponseFuture.start_fetching_next_page()` is called and
    there are no more pages.  You can check :attr:`.ResponseFuture.has_more_pages`
    before calling to avoid this.

    .. versionadded:: 2.0.0
     N/A N/A ResultSet N/A object N/A N/A 
    An iterator over the rows from a query result. Also supplies basic equality
    and indexing methods for backward-compatability. These methods materialize
    the entire result set (loading all pages), and should only be used if the
    total result size is understood. Warnings are emitted when paged results
    are materialized in this fashion.

    You can treat this as a normal iterator over rows::

        >>> from cassandra.query import SimpleStatement
        >>> statement = SimpleStatement("SELECT * FROM users", fetch_size=10)
        >>> for user_row in session.execute(statement):
        ...     process_user(user_row)

    Whenever there are no more rows in the current page, the next page will
    be fetched transparently.  However, note that it *is* possible for
    an :class:`Exception` to be raised while fetching the next page, just
    like you might see on a normal call to ``session.execute()``.
     __init__ N/A N/A self response_future initial_response N/A N/A N/A N/A self response_future response_future N/A N/A self column_names N/A response_future _col_names N/A N/A N/A self _set_current_rows initial_response N/A N/A self _page_iter None N/A N/A self _list_mode False N/A has_more_pages N/A N/A self N/A N/A N/A 
        True if the last response indicated more pages; False otherwise
         N/A N/A N/A self response_future has_more_pages N/A property current_rows N/A N/A self N/A N/A N/A 
        The list of current page rows. May be empty if the result was empty,
        or this is the last page.
         N/A N/A N/A self _current_rows N/A N/A property __iter__ N/A N/A self N/A N/A N/A N/A self _list_mode N/A N/A N/A iter N/A self _current_rows N/A N/A self _page_iter N/A iter N/A self _current_rows N/A self N/A next N/A N/A self N/A N/A N/A N/A N/A N/A next N/A self _page_iter N/A N/A N/A StopIteration N/A N/A N/A N/A N/A self response_future has_more_pages N/A N/A N/A N/A self _list_mode N/A N/A N/A self _current_rows N/A N/A N/A N/A N/A self fetch_next_page N/A N/A self _page_iter N/A iter N/A self _current_rows N/A N/A next N/A self _page_iter N/A N/A __next__ next fetch_next_page N/A N/A self N/A N/A N/A 
        Manually, synchronously fetch the next page. Supplied for manually retrieving pages
        and inspecting :meth:`~.current_page`. It is not necessary to call this when iterating
        through results; paging happens implicitly in iteration.
         N/A N/A N/A self response_future has_more_pages N/A N/A N/A N/A N/A self response_future start_fetching_next_page N/A result N/A N/A N/A self response_future result N/A N/A self _current_rows N/A result _current_rows N/A N/A N/A self _current_rows N/A N/A _set_current_rows N/A N/A self result N/A N/A N/A N/A isinstance result Mapping N/A N/A N/A self _current_rows N/A result N/A result N/A N/A N/A N/A N/A N/A iter result N/A N/A self _current_rows result N/A N/A N/A TypeError N/A N/A N/A self _current_rows N/A result N/A result N/A N/A _fetch_all N/A N/A self N/A N/A N/A N/A self _current_rows N/A list self N/A N/A self _page_iter None N/A _enter_list_mode N/A N/A self operator N/A N/A N/A N/A self _list_mode N/A N/A N/A N/A self _page_iter N/A N/A N/A RuntimeError N/A Cannot use %s when results have been iterated. operator N/A N/A N/A self response_future has_more_pages N/A N/A N/A N/A log warning Using %s on paged results causes entire result set to be materialized. operator N/A N/A N/A self _fetch_all N/A N/A self _list_mode True N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A self _enter_list_mode equality operator N/A N/A N/A self _current_rows other N/A __getitem__ N/A N/A self i N/A N/A N/A N/A N/A self _enter_list_mode index operator N/A N/A N/A self _current_rows N/A i N/A __nonzero__ N/A N/A self N/A N/A N/A N/A bool N/A self _current_rows N/A N/A __bool__ __nonzero__ get_query_trace N/A N/A self max_wait_sec N/A None N/A N/A 
        Gets the last query trace from the associated future.
        See :meth:`.ResponseFuture.get_query_trace` for details.
         N/A N/A N/A N/A self response_future get_query_trace max_wait_sec N/A get_all_query_traces N/A N/A self max_wait_sec_per N/A None N/A N/A 
        Gets all query traces from the associated future.
        See :meth:`.ResponseFuture.get_all_query_traces` for details.
         N/A N/A N/A N/A self response_future get_all_query_traces max_wait_sec_per N/A was_applied N/A N/A self N/A N/A N/A 
        For LWT results, returns whether the transaction was applied.

        Result is indeterminate if called on a result that was not an LWT request.

        Only valid when one of tne of the internal row factories is in use.
         N/A N/A N/A N/A self response_future row_factory N/A named_tuple_factory dict_factory tuple_factory N/A N/A N/A RuntimeError N/A Cannot determine LWT result with row factory %s N/A N/A N/A self response_future row_factsory N/A N/A N/A len N/A self current_rows 1 N/A N/A N/A RuntimeError N/A LWT result should have exactly one row. This has %d. N/A len N/A self current_rows N/A row N/A N/A self current_rows N/A 0 N/A N/A isinstance row tuple N/A N/A N/A row N/A 0 N/A N/A N/A row N/A [applied] N/A property N/A