diff --git a/src/gt4py/eve/utils.py b/src/gt4py/eve/utils.py index 29d04f1ee4..8da5cdfd22 100644 --- a/src/gt4py/eve/utils.py +++ b/src/gt4py/eve/utils.py @@ -521,6 +521,7 @@ def inner(*args, **kwargs): # type: ignore[no-untyped-def] # cast below restor inner.cache_parameters = cached_func.cache_parameters # type: ignore[attr-defined] # mypy not aware of functools.lru_cache behavior inner.cache_info = cached_func.cache_info # type: ignore[attr-defined] # mypy not aware of functools.lru_cache behavior + inner.cache_clear = cached_func.cache_clear # type: ignore[attr-defined] # mypy not aware of functools.cache_clear behavior return typing.cast(Callable[_P, _T], inner)