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


##########
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:
   @potiuk  I have added test case. if someone will touch this code and do same 
mistake again then text case will fail.



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