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



##########
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:
       That is out of scope of this PR but can you please create a Github 
issues for this please?
   
   i.e. Support for Set and other nested structures for Xcom serialization

##########
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:
       That is out of scope of this PR but can you please create a Github issue 
for this please?
   
   i.e. Support for Set and other nested structures for Xcom serialization




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