dynpy.caching - Module for caching and memoizing class methods
This module implements several decorates that can help with caching/memoizing
methods and properties.
-
class dynpy.caching.setup_cached_data_method(depends_on_attributes=None, sideeffect_attributes=None, args_dont_use_for_key=None, use_cache_check_func=None)[source]
Bases: object
Class used to generate memoizing decorators.
-
dynpy.caching.cached_data_method(f)[source]
Decorator for caching an object’s method
-
dynpy.caching.cached_data_prop(f)[source]
Decorator for caching an object’s property