lol
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user