Replace usage of @functools.lru_cache(max_size=None)
with @functools.cache
once python 3.8 is dropped
#2161
Labels
type: cleanup
An internal cleanup or hygiene concern.
Once Python 3.8 is dropped, we should use
@functools.cache
, which was added in Python3.9, instead of@functools.lru_cache(max_size=None)
From https://docs.python.org/3/library/functools.html#functools.cache,
The text was updated successfully, but these errors were encountered: