dstandish opened a new pull request, #39825:
URL: https://github.com/apache/airflow/pull/39825

   When we pass a task over RPC call we can't include the dag as part of the 
task without running into recursion trouble.  So we just "elide" the dag from 
the task object, require that it be passed separately and then get reattatched 
to the task after deserialization.  We introduce a sentinel so that way we can 
raise a helpful error if someone tries to access the dag attr after it's been 
elided.  Additionally, the sentinel lets us short circuit some logic in the 
task.dag setter that is not helpful.


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