turbaszek commented on a change in pull request #8607:
URL: https://github.com/apache/airflow/pull/8607#discussion_r419330497
##########
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:
To be honest, I was quite surprised, I think this is also something that
we should backport to 1.11 otherwise this operator works only with pickle xcom.
@kaxil
----------------------------------------------------------------
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]