Module Expr Str ImportFrom alias alias ImportFrom alias alias alias identifier Import alias Import alias TryExcept body ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list handlers ExceptHandler type NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list TryExcept body ImportFrom alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ClassDef bases NameLoad body Assign NameStore TupleLoad Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad NameLoad TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Expr Yield NameLoad orelse Expr Yield Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign TupleStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ExceptHandler type NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call NameLoad NameLoad orelse Raise If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If CompareIsNot NameLoad NameLoad body Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameStore SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Return IfExp Call NameLoad NameLoad NameLoad Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list decorator_list TryExcept body ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Dict If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd ListComp TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad ListComp TupleLoad BinOpSub SubscriptLoad NameLoad Index Num NameLoad TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign AttributeStore NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore Call NameLoad ListComp TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad If NameLoad body If CompareNotEq Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num If CompareIn NameLoad NameLoad body Assign NameStore IfExp UnaryOpNot AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListComp TupleLoad NameLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore SubscriptLoad NameLoad Index Num If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListComp TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListComp TupleLoad NameLoad TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd UnaryOpNot NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListComp TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd NameLoad NameLoad UnaryOpNot NameLoad CompareEq NameLoad Call NameLoad NameLoad body Assign AttributeStore NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Return ListComp TupleLoad NameLoad NameLoad IfExp UnaryOpNot NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num NameLoad NameLoad comprehension TupleStore NameStore TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return ListComp TupleLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign AttributeStore NameLoad attr ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If NameLoad body Assign NameStore Call NameLoad NameLoad If NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad Call NameLoad NameLoad NameLoad If CompareGt NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body If CompareLt NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If CompareIn SubscriptLoad NameLoad Index Num NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad For TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Dict For NameStore NameLoad body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Slice Num If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index Num NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr IfExp AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr CompareIn IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore SubscriptLoad NameLoad Index IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If BoolOpAnd Call NameLoad NameLoad Str CompareIn IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore SubscriptLoad NameLoad Index IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot SubscriptLoad NameLoad Index Num NameLoad body For NameStore SubscriptLoad NameLoad Index Num body If Call AttributeLoad NameLoad attr NameLoad body Break orelse Assign NameStore NameLoad If CompareIs NameLoad NameLoad body If NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr NameLoad orelse Return NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Return NameLoad orelse Return CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign TupleStore NameStore NameStore NameStore NameLoad If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str Str Str Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListComp NameLoad comprehension NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body TryExcept body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr body If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Assign AttributeStore NameLoad attr AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad NameLoad NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad 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 Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return orelse Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str orelse If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str orelse If AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str orelse If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str orelse If AttributeLoad AttributeLoad NameLoad attr attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str orelse If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str orelse If AttributeLoad AttributeLoad NameLoad attr attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num 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 Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str orelse If BoolOpAnd UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str orelse If BoolOpAnd UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body TryExcept body If CompareIs NameLoad NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr Str orelse If AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Assign NameStore ListLoad For NameStore NameLoad body Expr Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad orelse Return ListComp Call NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Return SubscriptLoad Call AttributeLoad NameLoad attr ListLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryFinally body If CompareIsNot NameLoad NameLoad body Return SubscriptLoad Call AttributeLoad NameLoad attr ListLoad NameLoad Index Num orelse Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Return SubscriptLoad NameLoad Index Num orelse Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list Assign NameStore Dict Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Assign NameStore Call NameLoad NameLoad Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr ListLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Num For NameStore AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListComp NameLoad comprehension NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Dict For TupleStore NameStore TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A Define result set constructs including :class:`.ResultProxy`
and :class:`.RowProxy. N/A exc util sql expression sqltypes util sql_util N/A collections N/A operator N/A N/A sqlalchemy.cresultproxy safe_rowproxy_reconstructor rowproxy_reconstructor N/A N/A cls state N/A N/A N/A N/A safe_rowproxy_reconstructor cls state N/A N/A N/A N/A ImportError N/A rowproxy_reconstructor N/A N/A cls state N/A N/A N/A obj N/A N/A cls __new__ cls N/A N/A N/A obj __setstate__ state N/A obj N/A N/A N/A sqlalchemy.cresultproxy BaseRowProxy N/A _baserowproxy_usecext True N/A N/A N/A ImportError N/A N/A _baserowproxy_usecext False BaseRowProxy N/A object N/A N/A __slots__ N/A _parent _row _processors _keymap __init__ N/A N/A self parent row processors keymap N/A N/A N/A RowProxy objects are constructed by ResultProxy objects. N/A N/A self _parent parent N/A N/A self _row row N/A N/A self _processors processors N/A N/A self _keymap keymap N/A __reduce__ N/A N/A self N/A N/A N/A N/A rowproxy_reconstructor N/A N/A self __class__ N/A N/A self __getstate__ N/A values N/A N/A self N/A N/A N/A Return the values represented by this RowProxy as a list. N/A N/A list self N/A __iter__ N/A N/A self N/A N/A N/A N/A processor value N/A zip N/A self _processors N/A self _row N/A N/A N/A processor None N/A N/A N/A value N/A N/A N/A N/A processor value N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A self _row N/A __getitem__ N/A N/A self key N/A N/A N/A N/A N/A N/A processor obj index N/A N/A self _keymap N/A key N/A N/A N/A KeyError N/A N/A N/A processor obj index N/A N/A N/A self _parent _key_fallback key N/A N/A TypeError N/A N/A N/A isinstance key slice N/A N/A l N/A N/A N/A processor value N/A zip N/A N/A self _processors N/A key N/A N/A self _row N/A key N/A N/A N/A processor None N/A N/A N/A N/A l append value N/A N/A N/A N/A l append N/A processor value N/A N/A tuple l N/A N/A N/A N/A index None N/A N/A N/A N/A exc InvalidRequestError N/A Ambiguous column name '%s' in result set column descriptions obj N/A N/A processor None N/A N/A N/A processor N/A N/A self _row N/A index N/A N/A N/A N/A self _row N/A index N/A __getattr__ N/A N/A self name N/A N/A N/A N/A N/A N/A self N/A name N/A N/A N/A KeyError N/A e N/A N/A N/A AttributeError N/A N/A e args N/A 0 N/A N/A RowProxy N/A BaseRowProxy N/A N/A Proxy values from a single cursor row.

    Mostly follows "ordered dictionary" behavior, mapping result
    values to the string-based column name, the integer position of
    the result in the row, as well as Column instances which can be
    mapped to the original Columns that produced this result set (for
    results that correspond to constructed SQL expressions).
     N/A __slots__ N/A __contains__ N/A N/A self key N/A N/A N/A N/A N/A N/A self _parent _has_key key N/A __getstate__ N/A N/A self N/A N/A N/A N/A _parent _row N/A self _parent N/A tuple self N/A __setstate__ N/A N/A self state N/A N/A N/A N/A self _parent parent N/A state N/A _parent N/A N/A self _row N/A state N/A _row N/A N/A self _processors N/A parent _processors N/A N/A self _keymap N/A parent _keymap N/A N/A __hash__ None _op N/A N/A self other op N/A N/A N/A N/A N/A isinstance other RowProxy N/A op N/A tuple self N/A tuple other N/A op N/A tuple self other N/A __lt__ N/A N/A self other N/A N/A N/A N/A N/A self _op other N/A operator lt N/A __le__ N/A N/A self other N/A N/A N/A N/A N/A self _op other N/A operator le N/A __ge__ N/A N/A self other N/A N/A N/A N/A N/A self _op other N/A operator ge N/A __gt__ N/A N/A self other N/A N/A N/A N/A N/A self _op other N/A operator gt N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A self _op other N/A operator eq N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A self _op other N/A operator ne N/A __repr__ N/A N/A self N/A N/A N/A N/A repr N/A N/A sql_util _repr_row self N/A has_key N/A N/A self key N/A N/A N/A Return True if this RowProxy contains the given key. N/A N/A N/A N/A self _parent _has_key key N/A items N/A N/A self N/A N/A N/A Return a list of tuples, each tuple containing a key/value pair. N/A N/A N/A key N/A self N/A key N/A key N/A N/A self keys N/A keys N/A N/A self N/A N/A N/A Return the list of keys as strings represented by this RowProxy. N/A N/A N/A self _parent keys N/A iterkeys N/A N/A self N/A N/A N/A N/A iter N/A N/A self _parent keys N/A itervalues N/A N/A self N/A N/A N/A N/A iter self N/A N/A N/A N/A collections Sequence N/A N/A N/A Sequence register RowProxy N/A N/A N/A ImportError N/A N/A ResultMetaData N/A object N/A N/A Handle cursor.description, applying additional info from an execution
    context. N/A __slots__ N/A _keymap case_sensitive matched_on_name _processors keys _orig_processors __init__ N/A N/A self parent cursor_description N/A N/A N/A context N/A parent context N/A dialect N/A context dialect N/A N/A self case_sensitive N/A dialect case_sensitive N/A N/A self matched_on_name False N/A N/A self _orig_processors None N/A N/A context result_column_struct N/A N/A N/A result_columns cols_are_ordered textual_ordered N/A context result_column_struct N/A num_ctx_cols N/A len result_columns N/A N/A result_columns cols_are_ordered num_ctx_cols textual_ordered False N/A raw N/A N/A self _merge_cursor_description context cursor_description result_columns num_ctx_cols cols_are_ordered textual_ordered N/A N/A self _keymap N/A N/A N/A _baserowproxy_usecext N/A N/A len_raw N/A len raw N/A N/A N/A N/A self _keymap update N/A N/A N/A N/A elem N/A 0 N/A N/A elem N/A 3 N/A elem N/A 4 N/A elem N/A 0 N/A elem raw N/A N/A N/A N/A elem N/A 0 len_raw N/A N/A elem N/A 3 N/A elem N/A 4 N/A elem N/A 0 N/A elem raw N/A N/A self _processors N/A N/A elem N/A 3 N/A elem raw N/A by_key N/A dict N/A N/A N/A elem N/A 2 N/A N/A elem N/A 3 N/A elem N/A 4 N/A elem N/A 0 N/A elem raw N/A num_ctx_cols N/A N/A N/A N/A len by_key num_ctx_cols N/A N/A seen N/A set N/A rec raw N/A N/A key N/A rec N/A 1 N/A N/A key seen N/A N/A key N/A N/A N/A self case_sensitive N/A N/A key lower key N/A N/A by_key N/A key N/A None key None N/A N/A N/A seen add key N/A N/A N/A N/A self _keymap update N/A N/A obj_elem N/A by_key N/A N/A elem N/A 2 N/A elem raw N/A elem N/A 4 N/A obj_elem N/A elem N/A 4 N/A N/A N/A self matched_on_name N/A N/A N/A N/A N/A self _keymap update N/A N/A N/A N/A elem N/A 4 N/A 0 N/A N/A elem N/A 3 N/A elem N/A 4 N/A elem N/A 0 N/A elem raw N/A elem N/A 4 N/A N/A N/A N/A N/A self _keymap update N/A N/A obj_elem N/A N/A elem N/A 3 N/A elem N/A 4 N/A elem N/A 0 N/A elem raw N/A elem N/A 4 N/A obj_elem N/A elem N/A 4 N/A N/A N/A N/A self _keymap update by_key N/A N/A N/A num_ctx_cols N/A context _translate_colname N/A N/A N/A N/A N/A self _keymap update N/A N/A N/A elem N/A 5 N/A N/A self _keymap N/A N/A elem N/A 2 N/A elem raw N/A elem N/A 5 N/A _merge_cursor_description N/A N/A self context cursor_description result_columns num_ctx_cols cols_are_ordered textual_ordered N/A N/A N/A Merge a cursor.description with compiled result column information.

        There are at least four separate strategies used here, selected
        depending on the type of SQL construct used to start with.

        The most common case is that of the compiled SQL expression construct,
        which generated the column names present in the raw SQL string and
        which has the identical number of columns as were reported by
        cursor.description.  In this case, we assume a 1-1 positional mapping
        between the entries in cursor.description and the compiled object.
        This is also the most performant case as we disregard extracting /
        decoding the column names present in cursor.description since we
        already have the desired name we generated in the compiled SQL
        construct.

        The next common case is that of the completely raw string SQL,
        such as passed to connection.execute().  In this case we have no
        compiled construct to work with, so we extract and decode the
        names from cursor.description and index those as the primary
        result row target keys.

        The remaining fairly common case is that of the textual SQL
        that includes at least partial column information; this is when
        we use a :class:`.TextAsFrom` construct.   This contruct may have
        unordered or ordered column information.  In the ordered case, we
        merge the cursor.description and the compiled construct's information
        positionally, and warn if there are additional description names
        present, however we still decode the names in cursor.description
        as we don't have a guarantee that the names in the columns match
        on these.   In the unordered case, we match names in cursor.description
        to that of the compiled construct based on name matching.
        In both of these cases, the cursor.description names and the column
        expression objects and names are indexed as result row target keys.

        The final case is much less common, where we have a compiled
        non-textual SQL expression construct, but the number of columns
        in cursor.description doesn't match what's in the compiled
        construct.  We make the guess here that there might be textual
        column expressions in the compiled construct that themselves include
        a comma in them causing them to split.  We do the same name-matching
        as with textual non-ordered columns.

        The name-matched system of merging is the same as that used by
        SQLAlchemy for all cases up through te 0.9 series.   Positional
        matching for compiled SQL expressions was introduced in 1.0 as a
        major performance feature, and positional matching for textual
        :class:`.TextAsFrom` objects in 1.1.  As name matching is no longer
        a common case, it was acceptable to factor it into smaller generator-
        oriented methods that are easier to understand, but incur slightly
        more performance overhead.

         N/A case_sensitive N/A N/A context dialect case_sensitive N/A N/A num_ctx_cols cols_are_ordered N/A textual_ordered N/A num_ctx_cols N/A len cursor_description N/A N/A N/A self keys N/A N/A elem N/A 0 N/A elem result_columns N/A N/A N/A idx key N/A N/A case_sensitive N/A N/A name lower name N/A N/A context get_result_processor type_ key N/A N/A cursor_description N/A idx N/A 1 obj None N/A N/A idx N/A key name obj type_ N/A enumerate result_columns N/A N/A textual_ordered N/A N/A raw_iterator N/A N/A self _merge_textual_cols_by_position context cursor_description result_columns N/A N/A num_ctx_cols N/A N/A raw_iterator N/A N/A self _merge_cols_by_name context cursor_description result_columns N/A N/A raw_iterator N/A N/A self _merge_cols_by_none context cursor_description N/A N/A N/A idx colname colname N/A N/A context get_result_processor mapped_type colname coltype obj untranslated N/A N/A idx colname mapped_type coltype obj untranslated raw_iterator N/A _colnames_from_description N/A N/A self context cursor_description N/A N/A N/A Extract column names and data types from a cursor.description.

        Applies unicode decoding, column translation, "normalization",
        and case sensitivity rules to the names based on the dialect.

         N/A dialect N/A context dialect N/A case_sensitive N/A dialect case_sensitive N/A translate_colname N/A context _translate_colname N/A description_decoder N/A N/A dialect description_encoding N/A dialect _description_decoder None N/A normalize_name N/A N/A dialect requires_name_normalize N/A dialect normalize_name None N/A untranslated None N/A N/A self keys N/A N/A N/A idx rec N/A enumerate cursor_description N/A N/A colname N/A rec N/A 0 N/A coltype N/A rec N/A 1 N/A description_decoder N/A N/A colname N/A description_decoder colname N/A translate_colname N/A N/A N/A colname untranslated N/A translate_colname colname N/A normalize_name N/A N/A colname N/A normalize_name colname N/A N/A N/A N/A self keys append colname N/A N/A case_sensitive N/A N/A colname N/A N/A colname lower N/A N/A N/A idx colname untranslated coltype N/A _merge_textual_cols_by_position N/A N/A self context cursor_description result_columns N/A N/A N/A dialect N/A context dialect N/A typemap N/A dialect dbapi_type_map N/A num_ctx_cols N/A result_columns N/A len result_columns None N/A N/A num_ctx_cols N/A len cursor_description N/A N/A N/A N/A util warn N/A Number of columns in textual SQL (%d) is smaller than number of columns requested (%d) N/A num_ctx_cols N/A len cursor_description N/A seen N/A set N/A N/A idx colname untranslated coltype N/A N/A self _colnames_from_description context cursor_description N/A N/A N/A idx num_ctx_cols N/A N/A ctx_rec N/A result_columns N/A idx N/A obj N/A ctx_rec N/A 2 N/A mapped_type N/A ctx_rec N/A 3 N/A N/A N/A obj N/A 0 seen N/A N/A N/A N/A exc InvalidRequestError N/A Duplicate column expression requested in textual SQL: %r N/A obj N/A 0 N/A N/A N/A seen add N/A obj N/A 0 N/A N/A mapped_type N/A N/A typemap get coltype N/A sqltypes NULLTYPE N/A obj None N/A N/A N/A idx colname mapped_type coltype obj untranslated N/A _merge_cols_by_name N/A N/A self context cursor_description result_columns N/A N/A N/A dialect N/A context dialect N/A typemap N/A dialect dbapi_type_map N/A case_sensitive N/A dialect case_sensitive N/A result_map N/A N/A self _create_result_map result_columns case_sensitive N/A N/A self matched_on_name True N/A N/A idx colname untranslated coltype N/A N/A self _colnames_from_description context cursor_description N/A N/A N/A N/A ctx_rec N/A result_map N/A colname N/A N/A N/A KeyError N/A N/A mapped_type N/A N/A typemap get coltype N/A sqltypes NULLTYPE N/A obj None N/A N/A obj N/A ctx_rec N/A 1 N/A mapped_type N/A ctx_rec N/A 2 N/A N/A N/A idx colname mapped_type coltype obj untranslated N/A _merge_cols_by_none N/A N/A self context cursor_description N/A N/A N/A dialect N/A context dialect N/A typemap N/A dialect dbapi_type_map N/A N/A idx colname untranslated coltype N/A N/A self _colnames_from_description context cursor_description N/A N/A mapped_type N/A N/A typemap get coltype N/A sqltypes NULLTYPE N/A N/A N/A idx colname mapped_type coltype None untranslated N/A _create_result_map N/A N/A cls result_columns case_sensitive N/A True N/A N/A d N/A N/A elem result_columns N/A N/A N/A key rec N/A N/A elem N/A 0 N/A elem N/A 1 N/A N/A case_sensitive N/A N/A key N/A N/A key lower N/A N/A key d N/A N/A N/A e_name e_obj e_type N/A d N/A key N/A N/A d N/A key N/A e_name N/A e_obj N/A rec N/A 1 e_type N/A N/A N/A d N/A key rec N/A d N/A classmethod _key_fallback N/A N/A self key raiseerr N/A True N/A N/A map N/A self _keymap N/A result None N/A N/A isinstance key N/A util string_types N/A N/A result N/A N/A map get N/A N/A self case_sensitive key N/A N/A key lower N/A N/A N/A isinstance key N/A expression ColumnElement N/A N/A N/A N/A key _label N/A N/A N/A self case_sensitive N/A key _label N/A N/A N/A key _label lower map N/A N/A result N/A map N/A N/A N/A self case_sensitive N/A key _label N/A N/A N/A key _label lower N/A N/A N/A N/A hasattr key name N/A N/A N/A self case_sensitive N/A key name N/A N/A N/A key name lower map N/A N/A result N/A map N/A N/A N/A self case_sensitive N/A key name N/A N/A N/A key name lower N/A N/A N/A result None N/A N/A result N/A 1 None N/A N/A obj N/A result N/A 1 N/A N/A N/A N/A key _compare_name_for_result obj N/A N/A N/A N/A result None N/A N/A result None N/A N/A raiseerr N/A N/A N/A N/A exc NoSuchColumnError N/A Could not locate column in row for column '%s' N/A N/A expression _string_or_unprintable key N/A N/A None N/A N/A N/A map N/A key result N/A result N/A _has_key N/A N/A self key N/A N/A N/A N/A key N/A self _keymap N/A N/A True N/A N/A N/A N/A N/A self _key_fallback key False None N/A _getter N/A N/A self key raiseerr N/A True N/A N/A N/A key N/A self _keymap N/A N/A N/A processor obj index N/A N/A self _keymap N/A key N/A N/A ret N/A N/A self _key_fallback key raiseerr N/A N/A ret None N/A N/A None N/A N/A processor obj index ret N/A N/A index None N/A N/A N/A N/A exc InvalidRequestError N/A Ambiguous column name '%s' in result set column descriptions obj N/A N/A N/A operator itemgetter index N/A __getstate__ N/A N/A self N/A N/A N/A N/A _pickled_keymap keys case_sensitive matched_on_name N/A dict N/A N/A key index N/A N/A key N/A processor obj index N/A N/A N/A self _keymap items N/A isinstance key N/A N/A util string_types N/A util int_types N/A self keys N/A self case_sensitive N/A self matched_on_name N/A __setstate__ N/A N/A self state N/A N/A N/A N/A self _processors N/A None N/A _ N/A range N/A len N/A state N/A keys N/A N/A self _keymap keymap N/A N/A N/A key index N/A N/A N/A state N/A _pickled_keymap items N/A N/A N/A keymap N/A key N/A None None index N/A N/A self keys N/A state N/A keys N/A N/A self case_sensitive N/A state N/A case_sensitive N/A N/A self matched_on_name N/A state N/A matched_on_name N/A N/A ResultProxy N/A object N/A N/A Wraps a DB-API cursor object to provide easier access to row columns.

    Individual columns may be accessed by their integer position,
    case-insensitive column name, or by ``schema.Column``
    object. e.g.::

      row = fetchone()

      col1 = row[0]    # access via integer position

      col2 = row['col2']   # access via name

      col3 = row[mytable.c.mycol] # access via Column object.

    ``ResultProxy`` also handles post-processing of result column
    data using ``TypeEngine`` objects, which are referenced from
    the originating SQL statement that produced this result set.

     N/A _process_row RowProxy N/A out_parameters None N/A _can_close_connection False N/A _metadata None N/A _soft_closed False N/A closed False __init__ N/A N/A self context N/A N/A N/A N/A self context context N/A N/A self dialect N/A context dialect N/A N/A self cursor N/A self _saved_cursor N/A context cursor N/A N/A self connection N/A context root_connection N/A N/A self _echo N/A N/A N/A self connection _echo N/A N/A N/A context engine _should_log_debug N/A N/A N/A self _init_metadata N/A _getter N/A N/A self key raiseerr N/A True N/A N/A N/A N/A getter N/A N/A self _metadata _getter N/A N/A N/A AttributeError N/A N/A N/A N/A self _non_result None N/A N/A N/A getter key raiseerr N/A _has_key N/A N/A self key N/A N/A N/A N/A N/A has_key N/A N/A self _metadata _has_key N/A N/A N/A AttributeError N/A N/A N/A N/A self _non_result None N/A N/A N/A has_key key N/A _init_metadata N/A N/A self N/A N/A N/A cursor_description N/A N/A self _cursor_description N/A N/A cursor_description None N/A N/A N/A N/A N/A self context compiled N/A compiled_cache N/A N/A self context execution_options N/A N/A N/A N/A N/A self context compiled _cached_metadata N/A N/A N/A self _metadata N/A N/A N/A self context compiled _cached_metadata N/A N/A N/A self _metadata N/A N/A N/A self context compiled _cached_metadata N/A ResultMetaData self cursor_description N/A N/A N/A self _metadata N/A ResultMetaData self cursor_description N/A N/A self _echo N/A N/A N/A N/A N/A N/A N/A self context engine logger debug Col %r N/A tuple N/A N/A x N/A 0 N/A x cursor_description N/A keys N/A N/A self N/A N/A N/A Return the current set of string keys for rows. N/A N/A self _metadata N/A N/A N/A N/A self _metadata keys N/A N/A N/A N/A rowcount N/A N/A self N/A N/A N/A Return the 'rowcount' for this result.

        The 'rowcount' reports the number of rows *matched*
        by the WHERE criterion of an UPDATE or DELETE statement.

        .. note::

           Notes regarding :attr:`.ResultProxy.rowcount`:


           * This attribute returns the number of rows *matched*,
             which is not necessarily the same as the number of rows
             that were actually *modified* - an UPDATE statement, for example,
             may have no net change on a given row if the SET values
             given are the same as those present in the row already.
             Such a row would be matched but not modified.
             On backends that feature both styles, such as MySQL,
             rowcount is configured by default to return the match
             count in all cases.

           * :attr:`.ResultProxy.rowcount` is *only* useful in conjunction
             with an UPDATE or DELETE statement.  Contrary to what the Python
             DBAPI says, it does *not* return the
             number of rows available from the results of a SELECT statement
             as DBAPIs cannot support this functionality when rows are
             unbuffered.

           * :attr:`.ResultProxy.rowcount` may not be fully implemented by
             all dialects.  In particular, most DBAPIs do not support an
             aggregate rowcount result from an executemany call.
             The :meth:`.ResultProxy.supports_sane_rowcount` and
             :meth:`.ResultProxy.supports_sane_multi_rowcount` methods
             will report from the dialect if each usage is known to be
             supported.

           * Statements that use RETURNING may not return a correct
             rowcount.

         N/A N/A N/A N/A N/A self context rowcount N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self connection _handle_dbapi_exception e None None N/A self cursor N/A self context N/A N/A util memoized_property lastrowid N/A N/A self N/A N/A N/A return the 'lastrowid' accessor on the DBAPI cursor.

        This is a DBAPI specific method and is only functional
        for those backends which support it, for statements
        where it is appropriate.  It's behavior is not
        consistent across backends.

        Usage of this method is normally unnecessary when
        using insert() expression constructs; the
        :attr:`~ResultProxy.inserted_primary_key` attribute provides a
        tuple of primary key values for a newly inserted row,
        regardless of database backend.

         N/A N/A N/A N/A N/A self _saved_cursor lastrowid N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self connection _handle_dbapi_exception e None None N/A self _saved_cursor N/A self context N/A property returns_rows N/A N/A self N/A N/A N/A True if this :class:`.ResultProxy` returns rows.

        I.e. if it is legal to call the methods
        :meth:`~.ResultProxy.fetchone`,
        :meth:`~.ResultProxy.fetchmany`
        :meth:`~.ResultProxy.fetchall`.

         N/A N/A N/A self _metadata None N/A property is_insert N/A N/A self N/A N/A N/A True if this :class:`.ResultProxy` is the result
        of a executing an expression language compiled
        :func:`.expression.insert` construct.

        When True, this implies that the
        :attr:`inserted_primary_key` attribute is accessible,
        assuming the statement did not include
        a user defined "returning" construct.

         N/A N/A N/A self context isinsert N/A property _cursor_description N/A N/A self N/A N/A N/A May be overridden by subclasses. N/A N/A N/A self _saved_cursor description N/A _soft_close N/A N/A self _autoclose_connection N/A True N/A N/A Soft close this :class:`.ResultProxy`.

        This releases all DBAPI cursor resources, but leaves the
        ResultProxy "open" from a semantic perspective, meaning the
        fetchXXX() methods will continue to return empty results.

        This method is called automatically when:

        * all result rows are exhausted using the fetchXXX() methods.
        * cursor.description is None.

        This method is **not public**, but is documented in order to clarify
        the "autoclose" process used.

        .. versionadded:: 1.0.0

        .. seealso::

            :meth:`.ResultProxy.close`


         N/A N/A self _soft_closed N/A N/A N/A N/A self _soft_closed True N/A cursor N/A self cursor N/A N/A N/A N/A self connection _safe_close_cursor cursor N/A N/A _autoclose_connection N/A N/A self connection should_close_with_result N/A N/A N/A N/A N/A self connection close N/A N/A self cursor None N/A close N/A N/A self N/A N/A N/A Close this ResultProxy.

        This closes out the underlying DBAPI cursor corresonding
        to the statement execution, if one is stil present.  Note that the
        DBAPI cursor is automatically released when the :class:`.ResultProxy`
        exhausts all available rows.  :meth:`.ResultProxy.close` is generally
        an optional method except in the case when discarding a
        :class:`.ResultProxy` that still has additional rows pending for fetch.

        In the case of a result that is the product of
        :ref:`connectionless execution <dbengine_implicit>`,
        the underyling :class:`.Connection` object is also closed, which
        :term:`releases` DBAPI connection resources.

        After this method is called, it is no longer valid to call upon
        the fetch methods, which will raise a :class:`.ResourceClosedError`
        on subsequent use.

        .. versionchanged:: 1.0.0 - the :meth:`.ResultProxy.close` method
           has been separated out from the process that releases the underlying
           DBAPI cursor resource.   The "auto close" feature of the
           :class:`.Connection` now performs a so-called "soft close", which
           releases the underlying DBAPI cursor, but allows the
           :class:`.ResultProxy` to still behave as an open-but-exhausted
           result set; the actual :meth:`.ResultProxy.close` method is never
           called.    It is still safe to discard a :class:`.ResultProxy`
           that has been fully exhausted without calling this method.

        .. seealso::

            :ref:`connections_toplevel`

            :meth:`.ResultProxy._soft_close`

         N/A N/A N/A self closed N/A N/A N/A N/A self _soft_close N/A N/A self closed True N/A __iter__ N/A N/A self N/A N/A N/A True N/A N/A row N/A N/A self fetchone N/A N/A row None N/A N/A N/A N/A N/A row N/A inserted_primary_key N/A N/A self N/A N/A N/A Return the primary key for the row just inserted.

        The return value is a list of scalar values
        corresponding to the list of primary key columns
        in the target table.

        This only applies to single row :func:`.insert`
        constructs which did not explicitly specify
        :meth:`.Insert.returning`.

        Note that primary key columns which specify a
        server_default clause,
        or otherwise do not qualify as "autoincrement"
        columns (see the notes at :class:`.Column`), and were
        generated using the database-side default, will
        appear in this list as ``None`` unless the backend
        supports "returning" and the insert statement executed
        with the "implicit returning" enabled.

        Raises :class:`~sqlalchemy.exc.InvalidRequestError` if the executed
        statement is not a compiled expression construct
        or is not an insert() construct.

         N/A N/A N/A N/A self context compiled N/A N/A N/A N/A exc InvalidRequestError Statement is not a compiled expression construct. N/A N/A N/A N/A N/A self context isinsert N/A N/A N/A N/A exc InvalidRequestError Statement is not an insert() expression construct. N/A N/A N/A N/A self context _is_explicit_returning N/A N/A N/A N/A exc InvalidRequestError Can't call inserted_primary_key when returning() is used. N/A N/A N/A self context inserted_primary_key N/A N/A util memoized_property last_updated_params N/A N/A self N/A N/A N/A Return the collection of updated parameters from this
        execution.

        Raises :class:`~sqlalchemy.exc.InvalidRequestError` if the executed
        statement is not a compiled expression construct
        or is not an update() construct.

         N/A N/A N/A N/A self context compiled N/A N/A N/A N/A exc InvalidRequestError Statement is not a compiled expression construct. N/A N/A N/A N/A N/A self context isupdate N/A N/A N/A N/A exc InvalidRequestError Statement is not an update() expression construct. N/A N/A N/A N/A self context executemany N/A N/A N/A N/A self context compiled_parameters N/A N/A N/A N/A N/A self context compiled_parameters N/A 0 N/A last_inserted_params N/A N/A self N/A N/A N/A Return the collection of inserted parameters from this
        execution.

        Raises :class:`~sqlalchemy.exc.InvalidRequestError` if the executed
        statement is not a compiled expression construct
        or is not an insert() construct.

         N/A N/A N/A N/A self context compiled N/A N/A N/A N/A exc InvalidRequestError Statement is not a compiled expression construct. N/A N/A N/A N/A N/A self context isinsert N/A N/A N/A N/A exc InvalidRequestError Statement is not an insert() expression construct. N/A N/A N/A N/A self context executemany N/A N/A N/A N/A self context compiled_parameters N/A N/A N/A N/A N/A self context compiled_parameters N/A 0 N/A returned_defaults N/A N/A self N/A N/A N/A Return the values of default columns that were fetched using
        the :meth:`.ValuesBase.return_defaults` feature.

        The value is an instance of :class:`.RowProxy`, or ``None``
        if :meth:`.ValuesBase.return_defaults` was not used or if the
        backend does not support RETURNING.

        .. versionadded:: 0.9.0

        .. seealso::

            :meth:`.ValuesBase.return_defaults`

         N/A N/A N/A self context returned_defaults N/A property lastrow_has_defaults N/A N/A self N/A N/A N/A Return ``lastrow_has_defaults()`` from the underlying
        :class:`.ExecutionContext`.

        See :class:`.ExecutionContext` for details.

         N/A N/A N/A N/A self context lastrow_has_defaults N/A postfetch_cols N/A N/A self N/A N/A N/A Return ``postfetch_cols()`` from the underlying
        :class:`.ExecutionContext`.

        See :class:`.ExecutionContext` for details.

        Raises :class:`~sqlalchemy.exc.InvalidRequestError` if the executed
        statement is not a compiled expression construct
        or is not an insert() or update() construct.

         N/A N/A N/A N/A self context compiled N/A N/A N/A N/A exc InvalidRequestError Statement is not a compiled expression construct. N/A N/A N/A N/A N/A N/A self context isinsert N/A N/A N/A self context isupdate N/A N/A N/A N/A exc InvalidRequestError Statement is not an insert() or update() expression construct. N/A N/A N/A self context postfetch_cols N/A prefetch_cols N/A N/A self N/A N/A N/A Return ``prefetch_cols()`` from the underlying
        :class:`.ExecutionContext`.

        See :class:`.ExecutionContext` for details.

        Raises :class:`~sqlalchemy.exc.InvalidRequestError` if the executed
        statement is not a compiled expression construct
        or is not an insert() or update() construct.

         N/A N/A N/A N/A self context compiled N/A N/A N/A N/A exc InvalidRequestError Statement is not a compiled expression construct. N/A N/A N/A N/A N/A N/A self context isinsert N/A N/A N/A self context isupdate N/A N/A N/A N/A exc InvalidRequestError Statement is not an insert() or update() expression construct. N/A N/A N/A self context prefetch_cols N/A supports_sane_rowcount N/A N/A self N/A N/A N/A Return ``supports_sane_rowcount`` from the dialect.

        See :attr:`.ResultProxy.rowcount` for background.

         N/A N/A N/A self dialect supports_sane_rowcount N/A supports_sane_multi_rowcount N/A N/A self N/A N/A N/A Return ``supports_sane_multi_rowcount`` from the dialect.

        See :attr:`.ResultProxy.rowcount` for background.

         N/A N/A N/A self dialect supports_sane_multi_rowcount N/A _fetchone_impl N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self cursor fetchone N/A N/A N/A AttributeError N/A N/A N/A N/A self _non_result None N/A _fetchmany_impl N/A N/A self size N/A None N/A N/A N/A N/A N/A size None N/A N/A N/A N/A N/A self cursor fetchmany N/A N/A N/A N/A N/A self cursor fetchmany size N/A N/A N/A AttributeError N/A N/A N/A N/A self _non_result N/A N/A _fetchall_impl N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self cursor fetchall N/A N/A N/A AttributeError N/A N/A N/A N/A self _non_result N/A N/A _non_result N/A N/A self default N/A N/A N/A N/A N/A self _metadata None N/A N/A N/A N/A exc ResourceClosedError This result object does not return rows. It has been closed automatically. N/A N/A N/A self closed N/A N/A N/A N/A exc ResourceClosedError This result object is closed. N/A N/A default N/A process_rows N/A N/A self rows N/A N/A N/A process_row N/A self _process_row N/A metadata N/A self _metadata N/A keymap N/A metadata _keymap N/A processors N/A metadata _processors N/A N/A self _echo N/A N/A log N/A N/A N/A N/A self context engine logger debug N/A l N/A N/A row rows N/A N/A N/A log Row %r N/A N/A sql_util _repr_row row N/A N/A N/A l append N/A process_row metadata row processors keymap N/A l N/A N/A N/A N/A process_row metadata row processors keymap N/A row rows N/A fetchall N/A N/A self N/A N/A N/A Fetch all rows, just like DB-API ``cursor.fetchall()``.

        After all rows have been exhausted, the underlying DBAPI
        cursor resource is released, and the object may be safely
        discarded.

        Subsequent calls to :meth:`.ResultProxy.fetchall` will return
        an empty list.   After the :meth:`.ResultProxy.close` method is
        called, the method will raise :class:`.ResourceClosedError`.

        .. versionchanged:: 1.0.0 - Added "soft close" behavior which
           allows the result to be used in an "exhausted" state prior to
           calling the :meth:`.ResultProxy.close` method.

         N/A N/A N/A l N/A N/A self process_rows N/A N/A self _fetchall_impl N/A N/A N/A self _soft_close N/A l N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self connection _handle_dbapi_exception e None None N/A self cursor N/A self context N/A fetchmany N/A N/A self size N/A None N/A N/A Fetch many rows, just like DB-API
        ``cursor.fetchmany(size=cursor.arraysize)``.

        After all rows have been exhausted, the underlying DBAPI
        cursor resource is released, and the object may be safely
        discarded.

        Calls to :meth:`.ResultProxy.fetchmany` after all rows have been
        exhuasted will return
        an empty list.   After the :meth:`.ResultProxy.close` method is
        called, the method will raise :class:`.ResourceClosedError`.

        .. versionchanged:: 1.0.0 - Added "soft close" behavior which
           allows the result to be used in an "exhausted" state prior to
           calling the :meth:`.ResultProxy.close` method.

         N/A N/A N/A l N/A N/A self process_rows N/A N/A self _fetchmany_impl size N/A N/A N/A len l 0 N/A N/A N/A N/A self _soft_close N/A l N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self connection _handle_dbapi_exception e None None N/A self cursor N/A self context N/A fetchone N/A N/A self N/A N/A N/A Fetch one row, just like DB-API ``cursor.fetchone()``.

        After all rows have been exhausted, the underlying DBAPI
        cursor resource is released, and the object may be safely
        discarded.

        Calls to :meth:`.ResultProxy.fetchone` after all rows have
        been exhausted will return ``None``.
        After the :meth:`.ResultProxy.close` method is
        called, the method will raise :class:`.ResourceClosedError`.

        .. versionchanged:: 1.0.0 - Added "soft close" behavior which
           allows the result to be used in an "exhausted" state prior to
           calling the :meth:`.ResultProxy.close` method.

         N/A N/A N/A row N/A N/A self _fetchone_impl N/A N/A row None N/A N/A N/A N/A N/A self process_rows N/A row N/A 0 N/A N/A N/A N/A self _soft_close N/A None N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self connection _handle_dbapi_exception e None None N/A self cursor N/A self context N/A first N/A N/A self N/A N/A N/A Fetch the first row and then close the result set unconditionally.

        Returns None if no row is present.

        After calling this method, the object is fully closed,
        e.g. the :meth:`.ResultProxy.close` method will have been called.

         N/A N/A N/A self _metadata None N/A N/A N/A N/A self _non_result None N/A N/A N/A row N/A N/A self _fetchone_impl N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self connection _handle_dbapi_exception e None None N/A self cursor N/A self context N/A N/A N/A N/A row None N/A N/A N/A N/A N/A self process_rows N/A row N/A 0 N/A N/A None N/A N/A N/A N/A self close N/A scalar N/A N/A self N/A N/A N/A Fetch the first column of the first row, and close the result set.

        Returns None if no row is present.

        After calling this method, the object is fully closed,
        e.g. the :meth:`.ResultProxy.close` method will have been called.

         N/A row N/A N/A self first N/A N/A row None N/A N/A N/A row N/A 0 N/A N/A None N/A N/A BufferedRowResultProxy N/A ResultProxy N/A N/A A ResultProxy with row buffering behavior.

    ``ResultProxy`` that buffers the contents of a selection of rows
    before ``fetchone()`` is called.  This is to allow the results of
    ``cursor.description`` to be available immediately, when
    interfacing with a DB-API that requires rows to be consumed before
    this information is available (currently psycopg2, when used with
    server-side cursors).

    The pre-fetching behavior fetches only one row initially, and then
    grows its buffer size by a fixed amount with each successive need
    for additional rows up to a size of 1000.

    The size argument is configurable using the ``max_row_buffer``
    execution option::

        with psycopg2_engine.connect() as conn:

            result = conn.execution_options(
                stream_results=True, max_row_buffer=50
                ).execute("select * from table")

    .. versionadded:: 1.0.6 Added the ``max_row_buffer`` option.

    .. seealso::

        :ref:`psycopg2_execution_options`
     _init_metadata N/A N/A self N/A N/A N/A N/A self _max_row_buffer N/A N/A N/A N/A self context execution_options get max_row_buffer None N/A N/A N/A self __buffer_rows N/A N/A N/A N/A super BufferedRowResultProxy self _init_metadata N/A N/A size_growth N/A 1 5 10 20 50 100 250 500 5 10 20 50 100 250 500 1000 __buffer_rows N/A N/A self N/A N/A N/A N/A N/A self cursor None N/A N/A N/A size N/A getattr self _bufsize 1 N/A N/A self __rowbuffer N/A N/A collections deque N/A N/A N/A self cursor fetchmany size N/A N/A self _bufsize N/A N/A N/A self size_growth get size size N/A N/A N/A self _max_row_buffer None N/A N/A N/A self _bufsize N/A min N/A self _max_row_buffer N/A self _bufsize N/A _soft_close N/A N/A self N/A kw N/A N/A N/A N/A N/A self __rowbuffer clear N/A N/A N/A N/A super BufferedRowResultProxy self _soft_close kw N/A _fetchone_impl N/A N/A self N/A N/A N/A N/A N/A self cursor None N/A N/A N/A N/A self _non_result None N/A N/A N/A self __rowbuffer N/A N/A N/A N/A self __buffer_rows N/A N/A N/A self __rowbuffer N/A N/A None N/A N/A N/A N/A self __rowbuffer popleft N/A _fetchmany_impl N/A N/A self size N/A None N/A N/A N/A size None N/A N/A N/A N/A self _fetchall_impl N/A result N/A N/A x N/A range 0 size N/A N/A row N/A N/A self _fetchone_impl N/A N/A row None N/A N/A N/A N/A N/A result append row N/A result N/A _fetchall_impl N/A N/A self N/A N/A N/A N/A N/A self cursor None N/A N/A N/A N/A self _non_result N/A N/A N/A N/A N/A self __rowbuffer extend N/A N/A N/A self cursor fetchall N/A ret N/A self __rowbuffer N/A N/A self __rowbuffer N/A N/A collections deque N/A ret N/A N/A FullyBufferedResultProxy N/A ResultProxy N/A N/A A result proxy that buffers rows fully upon creation.

    Used for operations where a result is to be delivered
    after the database conversation can not be continued,
    such as MSSQL INSERT...OUTPUT after an autocommit.

     _init_metadata N/A N/A self N/A N/A N/A N/A N/A N/A super FullyBufferedResultProxy self _init_metadata N/A N/A self __rowbuffer N/A N/A self _buffer_rows N/A _buffer_rows N/A N/A self N/A N/A N/A N/A N/A collections deque N/A N/A N/A self cursor fetchall N/A _soft_close N/A N/A self N/A kw N/A N/A N/A N/A N/A self __rowbuffer clear N/A N/A N/A N/A super FullyBufferedResultProxy self _soft_close kw N/A _fetchone_impl N/A N/A self N/A N/A N/A N/A self __rowbuffer N/A N/A N/A N/A N/A self __rowbuffer popleft N/A N/A N/A N/A self _non_result None N/A _fetchmany_impl N/A N/A self size N/A None N/A N/A N/A size None N/A N/A N/A N/A self _fetchall_impl N/A result N/A N/A x N/A range 0 size N/A N/A row N/A N/A self _fetchone_impl N/A N/A row None N/A N/A N/A N/A N/A result append row N/A result N/A _fetchall_impl N/A N/A self N/A N/A N/A N/A N/A self cursor N/A N/A N/A N/A self _non_result N/A N/A ret N/A self __rowbuffer N/A N/A self __rowbuffer N/A N/A collections deque N/A ret N/A N/A BufferedColumnRow N/A RowProxy N/A __init__ N/A N/A self parent row processors keymap N/A N/A N/A row N/A list row N/A index 0 N/A processor N/A parent _orig_processors N/A N/A N/A processor None N/A N/A N/A row N/A index N/A processor N/A row N/A index N/A index 1 N/A row N/A tuple row N/A N/A N/A N/A super BufferedColumnRow self __init__ parent row processors keymap N/A N/A BufferedColumnResultProxy N/A ResultProxy N/A N/A A ResultProxy with column buffering behavior.

    ``ResultProxy`` that loads all columns into memory each time
    fetchone() is called.  If fetchmany() or fetchall() are called,
    the full grid of results is fetched.  This is to operate with
    databases where result rows contain "live" results that fall out
    of scope unless explicitly fetched.  Currently this includes
    cx_Oracle LOB objects.

     N/A _process_row BufferedColumnRow _init_metadata N/A N/A self N/A N/A N/A N/A N/A N/A super BufferedColumnResultProxy self _init_metadata N/A metadata N/A self _metadata N/A N/A N/A metadata _orig_processors None N/A N/A N/A metadata _orig_processors N/A metadata _processors N/A N/A metadata _processors N/A None N/A _ N/A range N/A len N/A metadata keys N/A keymap N/A N/A N/A k N/A func obj index N/A N/A N/A metadata _keymap items N/A N/A N/A keymap N/A k N/A None obj index N/A N/A metadata _keymap keymap N/A fetchall N/A N/A self N/A N/A N/A l N/A N/A True N/A N/A row N/A N/A self fetchone N/A N/A row None N/A N/A N/A N/A N/A l append row N/A l N/A fetchmany N/A N/A self size N/A None N/A N/A N/A size None N/A N/A N/A N/A self fetchall N/A l N/A N/A i N/A range size N/A N/A row N/A N/A self fetchone N/A N/A row None N/A N/A N/A N/A N/A l append row N/A l N/A N/A