dstandish commented on code in PR #30271:
URL: https://github.com/apache/airflow/pull/30271#discussion_r1147746689
##########
airflow/models/dag.py:
##########
@@ -2207,6 +2207,9 @@ def partial_subset(
also_include.extend(t.get_flat_relatives(upstream=False))
if include_upstream:
also_include.extend(t.get_flat_relatives(upstream=True))
+ else:
+ upstream_setup_tasks = t.get_flat_relatives(upstream=True,
setup_only=True)
+ also_include.extend(upstream_setup_tasks)
Review Comment:
yeah get_flat_relatives was updated so that.... whenever a setup is
returned, it always adds the teardown.
now, this assumes that the only usage of it is clearing behavior. i should
probably verify that.
--
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]