cached_method
cached_method(
func ,
)
Cache a method by instance identity instead of hashing the instance.
functools.cache is incompatible with pydantic; see #6787.
DASCore 1.0 beta is out! Read the announcement, check the migration guide, and help us test it.
| function of dascore.utils.misc | source |
cached_method(
func ,
)
Cache a method by instance identity instead of hashing the instance.
functools.cache is incompatible with pydantic; see #6787.