tooptoop4 opened a new issue #11354:
URL: https://github.com/apache/airflow/issues/11354


   v1.10.9 was fine
   
   i upgraded to v 1.10.12 and started getting below error after running 
get_state or clear on the cli:
   
   /home/ec2-user/venv/lib/python3.7/site-packages/airflow/models/dag.py:1350: 
PendingDeprecationWarning: The requested task could not be added to the DAG 
because a task with task_id COMPLETE is already in the DAG. Starting in Airflow 
2.0, trying to overwrite a task will raise an exception.
     category=PendingDeprecationWarning)
   
   i am using the same taskid (named COMPLETE) on 2 different dags, in fact i 
receive this warning when running the get_state cli on a different (ie 3rd) dag 
(a that does not contain task_id COMPLETE)
   


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