potiuk edited a comment on issue #12309:
URL: https://github.com/apache/airflow/issues/12309#issuecomment-1043012172


   I believe it's just wrong way of using decorated tasks. 
   
   But the issue is that you are adding the same issue again with the same 
taks_id. You should change task_id when you are adding tasks mutiple times. 
This problem is not fixable IMHO because of the way how decorators work - the 
function for the resulting task will always have the same id and (as far as I 
know how decorarots work) this cannot be changed. 
   
   If you want to have a loop of tasks added use PythonOperator and use your 
function as callable. 
   
   Unless someone objects and tells that this can be solved differently i 
consider this one closed.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to