ManiBharataraju commented on issue #16610:
URL: https://github.com/apache/airflow/issues/16610#issuecomment-880542060


   @bbovenzi @ashb - It appears like for a fresh build this piece of code is 
setting value as None.
   
https://github.com/apache/airflow/blob/9a1fc19a627662122dd8dacee2ef61c3edf97b85/airflow/serialization/serialized_objects.py#L682
   
   We just upgraded to 2.1.1 and see the dag dependencies empty. Tried 
restarting the scheduler multiple times but doesn't help.
   
   Could it be possible that task_type in the below piece of code returns 
BaseOperator instead of the actual operator? IDK, haven't been able to 
reproduce this issue in my local.
   
https://github.com/apache/airflow/blob/9a1fc19a627662122dd8dacee2ef61c3edf97b85/airflow/serialization/serialized_objects.py#L341
   
   I see this error message on the UI
   <img> 
   
![image](https://user-images.githubusercontent.com/9946408/125763690-c101ebd6-147f-405e-8735-e1c4051537b9.png)
   
   


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