uranusjr opened a new pull request #17280:
URL: https://github.com/apache/airflow/pull/17280


   The log instance is now instantiated per class, instead of per instance, 
saving duplicated `getLogger()` calls. Those `getLogger()` calls would return 
the same logger instance anyway, so the functionality is effectively the same; 
only the function call overhead os saved.
   
   The `log` property is also converted to a `cached_property`, so the `is 
None` check would only happen once per instance, instead of every time the 
property is accessed.
   


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