kulkarni-sp commented on PR #44646:
URL: https://github.com/apache/airflow/pull/44646#issuecomment-2622004840

   @utkarsharma2  Is it possible for you to include this make minor change? 
Essentially doing getattr check before if statement.
            //Initialize attribute callers
            if not getattr(cls._sentinel, "callers", None):
               cls._sentinel.callers = {}
           if sentinel:                
               cls._sentinel.callers[sentinel_key] = sentinel
           else:                
               sentinel = 
cls._sentinel.callers.pop(f"{func.__qualname__.split('.')[0]}__sentinel", None)
           ----


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