pierrejeambrun commented on code in PR #42914:
URL: https://github.com/apache/airflow/pull/42914#discussion_r1798939471
##########
airflow/utils/api_migration.py:
##########
@@ -25,13 +25,10 @@
from typing import Callable, TypeVar
-from airflow.typing_compat import ParamSpec
-
-PS = ParamSpec("PS")
RT = TypeVar("RT")
-def mark_fastapi_migration_done(function: Callable[PS, RT]) -> Callable[PS,
RT]:
+def mark_fastapi_migration_done(function: Callable[..., RT]) -> Callable[...,
RT]:
Review Comment:
Do you mind elaborating why this is needed ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]