HsiuChuanHsu commented on code in PR #54858:
URL: https://github.com/apache/airflow/pull/54858#discussion_r2299327461
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor_types.py:
##########
@@ -35,27 +42,40 @@ class FailureDetails(TypedDict, total=False):
container_name: str | None
-if TYPE_CHECKING:
- from collections.abc import Sequence
+class KubernetesResults(NamedTuple):
+ """Results from Kubernetes task execution."""
- from airflow.models.taskinstance import TaskInstanceKey
- from airflow.utils.state import TaskInstanceState
+ key: TaskInstanceKey # 使用字符串引用
Review Comment:
Forgot to remove the note. Thanks for the reminder!
--
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]