ashb commented on PR #37937:
URL: https://github.com/apache/airflow/pull/37937#issuecomment-2009337199

   > > ```python
   > > __sentiel = object()
   > > ```
   > 
   > Just wondering where the sentiel object should be passed then to know it's 
called from Airflow itself and not outside it? I understand the trick you want 
to achieve without traceback but just wondering where it should be passed.
   
   From somewhere in 
https://github.com/apache/airflow/blob/83f8a2ec6fc0643bf31d165c013ddf72a120220d/airflow/models/taskinstance.py#L2386
 -- or maybe we could set a property on the Operator instead of needing to pass 
it in? Couple of ways we could do it.


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