Is it possible to define a subset of args to cache on?
I find that panel caching fails when argument types to methods include non-hashable types like methods or functions. It would be nice to be able to define a subset of function arguments to hash on such that functional arguments can be ignored.
For example
import panel as pn
@pn.cache('id', to_disk=True)
def get_data(id: int, load_data: Callable):
return load_data(id)
data = get_data(357, load_data=data_connector)