from typing import Optional
from typing import overload
from typing import Sequence
+from typing import Tuple
from typing import Type
from typing import TYPE_CHECKING
from typing import TypeVar
from ...util import ScopedRegistry
from ...util import warn
from ...util import warn_deprecated
-from ...util.typing import TupleAny
from ...util.typing import TypeVarTuple
from ...util.typing import Unpack
bind_arguments: Optional[_BindArguments] = None,
_parent_execute_state: Optional[Any] = None,
_add_event: Optional[Any] = None,
- ) -> Result[Unpack[TupleAny]]:
+ ) -> Result[Unpack[Tuple[Any, ...]]]:
...
async def execute(
execution_options: OrmExecuteOptionsParameter = util.EMPTY_DICT,
bind_arguments: Optional[_BindArguments] = None,
**kw: Any,
- ) -> Result[Unpack[TupleAny]]:
+ ) -> Result[Unpack[Tuple[Any, ...]]]:
r"""Execute a statement and return a buffered
:class:`_engine.Result` object.
def identity_key(
cls,
class_: Optional[Type[Any]] = None,
- ident: Union[Any, TupleAny] = None,
+ ident: Union[Any, Tuple[Any, ...]] = None,
*,
instance: Optional[Any] = None,
- row: Optional[Union[Row[Unpack[TupleAny]], RowMapping]] = None,
+ row: Optional[Union[Row[Unpack[Tuple[Any, ...]]], RowMapping]] = None,
identity_token: Optional[Any] = None,
) -> _IdentityKeyType[Any]:
r"""Return an identity key.
from ...orm import SessionTransaction
from ...orm import state as _instance_state
from ...util.concurrency import greenlet_spawn
+from ...util.typing import TupleAny
from ...util.typing import TypeVarTuple
from ...util.typing import Unpack
ident: Union[Any, Tuple[Any, ...]] = None,
*,
instance: Optional[Any] = None,
- row: Optional[Union[Row[Unpack[Tuple[Any, ...]]], RowMapping]] = None,
+ row: Optional[Union[Row[Unpack[TupleAny]], RowMapping]] = None,
identity_token: Optional[Any] = None,
) -> _IdentityKeyType[Any]:
r"""Return an identity key.