From 5d4a15b905cf5df023270eb63ee9ccb505bddffa Mon Sep 17 00:00:00 2001 From: dirrao Date: Sun, 6 Oct 2024 09:46:21 +0530 Subject: [PATCH 1/5] Removed deprecated Chainable type from BaseOperator --- airflow/models/baseoperator.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/airflow/models/baseoperator.py b/airflow/models/baseoperator.py index 9e0c8e1e69b61..e792fe3cacaab 100644 --- a/airflow/models/baseoperator.py +++ b/airflow/models/baseoperator.py @@ -44,7 +44,6 @@ NoReturn, Sequence, TypeVar, - Union, cast, ) @@ -1778,10 +1777,6 @@ def expand_start_trigger_args(self, *, context: Context, session: Session) -> St return self.start_trigger_args -# TODO: Deprecate for Airflow 3.0 -Chainable = Union[DependencyMixin, Sequence[DependencyMixin]] - - def chain(*tasks: DependencyMixin | Sequence[DependencyMixin]) -> None: r""" Given a number of tasks, builds a dependency chain. From 887c7896593b64265c63607473137eda381828ff Mon Sep 17 00:00:00 2001 From: dirrao Date: Mon, 7 Oct 2024 13:35:32 +0530 Subject: [PATCH 2/5] Chainable word removed from spelling_wordlist.txt --- docs/spelling_wordlist.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index 4413be1fc746a..bd285cbc31553 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -227,8 +227,6 @@ cgi Cgroups cgroups cgroupspy -Chainable -chakra Changelog changelog charset @@ -664,6 +662,7 @@ gapic gapped gbq gcc +gchakra gcloud Gcp gcp From 0a74e28716d481c7182e5989363ce3ef9e20edfa Mon Sep 17 00:00:00 2001 From: dirrao Date: Mon, 7 Oct 2024 14:14:13 +0530 Subject: [PATCH 3/5] Chainable word removed from spelling_wordlist.txt --- docs/spelling_wordlist.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index bd285cbc31553..bdb7190b562f3 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -662,7 +662,7 @@ gapic gapped gbq gcc -gchakra +chakra gcloud Gcp gcp From 9afb13e5d4745e91a5272f81c2bb8d3388700363 Mon Sep 17 00:00:00 2001 From: dirrao Date: Mon, 7 Oct 2024 20:57:32 +0530 Subject: [PATCH 4/5] Chainable word removed from spelling_wordlist.txt --- docs/spelling_wordlist.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index bdb7190b562f3..78025bfe9fe22 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -227,6 +227,7 @@ cgi Cgroups cgroups cgroupspy +chakra Changelog changelog charset @@ -662,7 +663,6 @@ gapic gapped gbq gcc -chakra gcloud Gcp gcp From faeb48bbc518d0e69cef142e55f21d092b61332b Mon Sep 17 00:00:00 2001 From: dirrao Date: Tue, 8 Oct 2024 20:46:36 +0530 Subject: [PATCH 5/5] news fragment added --- newsfragments/42776.significant.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 newsfragments/42776.significant.rst diff --git a/newsfragments/42776.significant.rst b/newsfragments/42776.significant.rst new file mode 100644 index 0000000000000..5fad7dfe79b66 --- /dev/null +++ b/newsfragments/42776.significant.rst @@ -0,0 +1 @@ +Removed deprecated ``Chainable`` type from ``BaseOperator``.