uranusjr commented on code in PR #64522:
URL: https://github.com/apache/airflow/pull/64522#discussion_r3019043578
##########
task-sdk/src/airflow/sdk/definitions/decorators/__init__.py:
##########
@@ -25,6 +25,12 @@
from airflow.sdk.definitions.decorators.task_group import task_group
from airflow.sdk.providers_manager_runtime import ProvidersManagerTaskRuntime
+if TYPE_CHECKING:
+ from collections.abc import Callable
+ from typing import TypeVar
+
+ T = TypeVar("T", bound=Callable)
Review Comment:
Oops, this is for the `@result` decorator, not included in this PR.
--
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]