summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/lambdas.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql/lambdas.py')
-rw-r--r--lib/sqlalchemy/sql/lambdas.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/lambdas.py b/lib/sqlalchemy/sql/lambdas.py
index da15c305f..4b220188f 100644
--- a/lib/sqlalchemy/sql/lambdas.py
+++ b/lib/sqlalchemy/sql/lambdas.py
@@ -444,7 +444,7 @@ class DeferredLambdaElement(LambdaElement):
def _invoke_user_fn(self, fn, *arg):
return fn(*self.lambda_args)
- def _resolve_with_args(self, *lambda_args):
+ def _resolve_with_args(self, *lambda_args: Any) -> ClauseElement:
assert isinstance(self._rec, AnalyzedFunction)
tracker_fn = self._rec.tracker_instrumented_fn
expr = tracker_fn(*lambda_args)
@@ -478,7 +478,7 @@ class DeferredLambdaElement(LambdaElement):
for deferred_copy_internals in self._transforms:
expr = deferred_copy_internals(expr)
- return expr
+ return expr # type: ignore
def _copy_internals(
self, clone=_clone, deferred_copy_internals=None, **kw