cached_method
cached_method(
func ,
)
Cache decorated method.
Simply uses the id of self for the key rather than hashing it. We can’t use functools.cache due to pydantic #6787.
function of dascore.utils.misc | source |
cached_method(
func ,
)
Cache decorated method.
Simply uses the id of self for the key rather than hashing it. We can’t use functools.cache due to pydantic #6787.