kaxil commented on a change in pull request #8607:
URL: https://github.com/apache/airflow/pull/8607#discussion_r419327697
##########
File path: airflow/operators/latest_only_operator.py
##########
@@ -46,7 +46,7 @@ def choose_branch(self, context: Dict) -> Union[str,
Iterable[str]]:
if context['dag_run'] and context['dag_run'].external_trigger:
self.log.info(
"Externally triggered DAG_Run: allowing execution to proceed.")
- return context['task'].get_direct_relative_ids(upstream=False)
+ return
list(context['task'].get_direct_relative_ids(upstream=False))
Review comment:
Why do we need a `list` instead of a `set` ??
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]