dstandish commented on code in PR #30271:
URL: https://github.com/apache/airflow/pull/30271#discussion_r1231796591
##########
airflow/models/abstractoperator.py:
##########
@@ -188,6 +188,33 @@ def get_flat_relatives(self, upstream: bool = False) ->
Collection[Operator]:
return set()
return [dag.task_dict[task_id] for task_id in
self.get_flat_relative_ids(upstream=upstream)]
+ def get_upstreams_follow_setups(self) -> Iterable[Operator]:
+ """All upstreams and, for each upstream setup, its respective
teardowns."""
Review Comment:
I thought about it but the whole class is marked private so is it necessary?
If it is necessary, what is the meaning / import of the class being private?
--
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]