We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 566ee62 commit b897e53Copy full SHA for b897e53
result_caching/__init__.py
@@ -258,7 +258,7 @@ def wrapper(*args, **kwargs):
258
if key in self._combine_fields}
259
function_identifier = self.get_function_identifier(function, call_args)
260
stored_result, reduced_call_args = None, call_args
261
- if self.is_stored(function_identifier):
+ if is_enabled() and self.is_stored(function_identifier):
262
self._logger.debug(f"Loading from storage: {function_identifier}")
263
stored_result = self.load(function_identifier)
264
missing_call_args = self.filter_coords(infile_call_args, stored_result) if not self._sub_fields \
0 commit comments