turbaszek commented on a change in pull request #8607:
URL: https://github.com/apache/airflow/pull/8607#discussion_r419338031



##########
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:
       I was thinking about that and I am against it. JSON has no `set` 
structure and users should be aware of this. Additionally we want to support 
`set` in general then we have to support all possible nested structures (dicts 
+ sets, list of sets, etc) 




----------------------------------------------------------------
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]


Reply via email to