@@ -57,20 +57,33 @@ async def exec(
5757 _add_event : Optional [Any ] = None ,
5858 ) -> ScalarResult [_TSelectParam ]: ...
5959
60+ @overload
61+ async def exec (
62+ self ,
63+ statement : _Executable ,
64+ * ,
65+ params : Optional [Union [Mapping [str , Any ], Sequence [Mapping [str , Any ]]]] = None ,
66+ execution_options : Mapping [str , Any ] = util .EMPTY_DICT ,
67+ bind_arguments : Optional [Dict [str , Any ]] = None ,
68+ _parent_execute_state : Optional [Any ] = None ,
69+ _add_event : Optional [Any ] = None ,
70+ ) -> Result [Any ]: ...
71+
6072 async def exec (
6173 self ,
6274 statement : Union [
6375 Select [_TSelectParam ],
6476 SelectOfScalar [_TSelectParam ],
6577 Executable [_TSelectParam ],
78+ _Executable ,
6679 ],
6780 * ,
6881 params : Optional [Union [Mapping [str , Any ], Sequence [Mapping [str , Any ]]]] = None ,
6982 execution_options : Mapping [str , Any ] = util .EMPTY_DICT ,
7083 bind_arguments : Optional [Dict [str , Any ]] = None ,
7184 _parent_execute_state : Optional [Any ] = None ,
7285 _add_event : Optional [Any ] = None ,
73- ) -> Union [TupleResult [_TSelectParam ], ScalarResult [_TSelectParam ]]:
86+ ) -> Union [TupleResult [_TSelectParam ], ScalarResult [_TSelectParam ], Result [ Any ] ]:
7487 if execution_options :
7588 execution_options = util .immutabledict (execution_options ).union (
7689 _EXECUTE_OPTIONS
0 commit comments