potiuk commented on code in PR #44646:
URL: https://github.com/apache/airflow/pull/44646#discussion_r1873314988


##########
airflow/models/baseoperator.py:
##########
@@ -364,6 +364,8 @@ def wrapper(self, *args, **kwargs):
             sentinel = kwargs.pop(sentinel_key, None)
 
             if sentinel:
+                if not getattr(cls._sentinel, "callers", None):

Review Comment:
   This is not at all obvious what's going on, so for the future refactors etc. 
if someone will touch the code, they will know what to avoid. 



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