DemandFunction.reset_cache

DemandFunction.reset_cache(hard: bool = False) None[source]

Reset cache values.

Parameters
hardbool, default=False

If False, valid flag of cached elements is set to False. If True, cached elements will be set to None.