Use @cache
and @cache_property
from functools
for memoization
#2288
Labels
difficulty: easy
A good issue for someone new. Can be done in a few hours
See https://docs.python.org/3/library/functools.html
We are currently doing this manually using try-except blocks with
AttributeError
(example). Using the decorators from functools would be cleanerThis is different functionality from using
@property
with a setter and getter - those should not be changed.The text was updated successfully, but these errors were encountered: