sc-anssi commented on issue #35361:
URL: https://github.com/apache/airflow/issues/35361#issuecomment-1795167165

   Hi,
   
   Thanks for your feedback, it helped me rewrite and simplify my workflow !
   
   > Why are you trying to pass a dict and do not use a list instead which is 
working?
   
   Of course I can use list instead of dict, that's what I did eventually to 
properly work around this issue (along with using expand_kwargs as well).
   Passing a dict was merely convenient because the task I used to generate 
data was returning a dict already and my previous workflow was built around 
that assumption.
   
   Anyway I just stumbled upon that error and by looking up the documentation I 
couldn't find a clear indication that dict could not be passed so I guessed I'd 
mention it here :)
   Feel free to label it as a "documentation issue" or even close it if it does 
not seem relevant.
   
   > Dynamic task mapping needs a list in order to be able to map tasks to it
   
   It does, but since you can also pass a dict without using expand_kwargs 
(although I understand this is not the recommended method), that's why I 
assumed it would be possible with the map() function as well.
   


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to