karenbraganz commented on PR #39724:
URL: https://github.com/apache/airflow/pull/39724#issuecomment-2297829586

   I will go with the second approach. I have made the changes you requested to 
my code regarding the usage of the dag variable from the local scope and 
splitting the if statement in base.py. 
   
   I will start working on a separate PR to create a method that unifies the 
DAG checks instead of having them separately for the BaseOperator __init__(), 
partial(), and _expand() methods.
   
   Please let me know if any other changes are required for this PR.


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