aiidateam / aiida-core

The official repository for the AiiDA code
https://aiida-core.readthedocs.io
Other
431 stars 187 forks source link

ORM: Cache the logger adapter for `ProcessNode` #6492

Closed sphuber closed 3 months ago

sphuber commented 3 months ago

The logger adapter was recreated each time the logger property of the ProcessNode was invoked. It is now cached on the node instance as its contents should not change for the lifetime of the node.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.79%. Comparing base (ef60b66) to head (732d48a). Report is 115 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6492 +/- ## ========================================== + Coverage 77.51% 77.79% +0.29% ========================================== Files 560 561 +1 Lines 41444 41809 +365 ========================================== + Hits 32120 32521 +401 + Misses 9324 9288 -36 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.