Skip to content

Commit

Permalink
Removed deprecated Chainable type from BaseOperator (apache#42776)
Browse files Browse the repository at this point in the history
* Removed deprecated Chainable type from BaseOperator

* Chainable word removed from spelling_wordlist.txt

* Chainable word removed from spelling_wordlist.txt

* Chainable word removed from spelling_wordlist.txt

* news fragment added
  • Loading branch information
dirrao authored and ellisms committed Nov 13, 2024
1 parent 844f000 commit 16929f1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions airflow/models/baseoperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
NoReturn,
Sequence,
TypeVar,
Union,
cast,
)

Expand Down Expand Up @@ -1789,10 +1788,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.
Expand Down
1 change: 0 additions & 1 deletion docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ cgi
Cgroups
cgroups
cgroupspy
Chainable
chakra
Changelog
changelog
Expand Down
1 change: 1 addition & 0 deletions newsfragments/42776.significant.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed deprecated ``Chainable`` type from ``BaseOperator``.

0 comments on commit 16929f1

Please sign in to comment.