This commit is contained in:
2025-05-22 20:25:38 +02:00
parent 09f6750c2b
commit ce03fbf12f
529 changed files with 3353 additions and 3312 deletions

View File

@@ -273,7 +273,7 @@ def _generative(fn: _Fn) -> _Fn:
"""
@util.decorator # type: ignore
@util.decorator
def _generative(
fn: _Fn, self: _SelfGenerativeType, *args: Any, **kw: Any
) -> _SelfGenerativeType:
@@ -299,7 +299,7 @@ def _exclusive_against(*names: str, **kw: Any) -> Callable[[_Fn], _Fn]:
for name in names
]
@util.decorator # type: ignore
@util.decorator
def check(fn, *args, **kw):
# make pylance happy by not including "self" in the argument
# list
@@ -315,7 +315,7 @@ def _exclusive_against(*names: str, **kw: Any) -> Callable[[_Fn], _Fn]:
raise exc.InvalidRequestError(msg)
return fn(self, *args, **kw)
return check # type: ignore
return check
def _clone(element, **kw):
@@ -1176,6 +1176,7 @@ class Executable(roles.StatementRole):
autoflush: bool = False,
synchronize_session: SynchronizeSessionArgument = ...,
dml_strategy: DMLStrategyArgument = ...,
render_nulls: bool = ...,
is_delete_using: bool = ...,
is_update_from: bool = ...,
**opt: Any,