From e618785d98d89cf5a2e0df04983677dd4267334f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wang=20Ran=20=28=E6=B1=AA=E7=84=B6=29?= Date: Sun, 22 Dec 2024 00:42:05 +0800 Subject: [PATCH] Update mixins.py --- task_sdk/src/airflow/sdk/definitions/mixins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/task_sdk/src/airflow/sdk/definitions/mixins.py b/task_sdk/src/airflow/sdk/definitions/mixins.py index de63772615de5..1253b8b8fb533 100644 --- a/task_sdk/src/airflow/sdk/definitions/mixins.py +++ b/task_sdk/src/airflow/sdk/definitions/mixins.py @@ -96,12 +96,12 @@ def __rshift__(self, other: DependencyMixin | Sequence[DependencyMixin]): return other def __rrshift__(self, other: DependencyMixin | Sequence[DependencyMixin]): - """Implement Task >> [Task] because list don't have __rshift__ operators.""" + """Implement [Task] >> Task because list don't have __rshift__ operators.""" self.__lshift__(other) return self def __rlshift__(self, other: DependencyMixin | Sequence[DependencyMixin]): - """Implement Task << [Task] because list don't have __lshift__ operators.""" + """Implement [Task] << Task because list don't have __lshift__ operators.""" self.__rshift__(other) return self