You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/10/25 22:01:37 UTC

[GitHub] [airflow] potiuk commented on issue #26936: DAG as classes causes a bad fileloc attribute and display wrong code in the UI after upgrade to 2.4.x

potiuk commented on issue #26936:
URL: https://github.com/apache/airflow/issues/26936#issuecomment-1291189437

   I think @ashb  @jedcunningham - I think we need to somehow address this one in 2.4.3 - it looks like others might have simmilar problems with auto-registering in similar way and the behaviour is rather bad. This might be pretty common case when users want to reuse DAG structures.
   
   I think maybe just detecting this case and raising error "Please use auto_register = False) in this case could be good enough solution. Seems it should be possible to detect this.
   
   WDYT?


-- 
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-unsubscribe@airflow.apache.org

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