Fix for manual cache creation

This commit is contained in:
Dirk Alders 2024-09-23 08:01:04 +02:00
parent 9c48128b04
commit 104e25e74f
3 changed files with 1143 additions and 1132 deletions

View File

@ -209,7 +209,8 @@ class property_cache_pickle(object):
self._cached_props[self.UID_TAG] = self._source_instance.uid() self._cached_props[self.UID_TAG] = self._source_instance.uid()
self._cached_props[self.DATA_VERSION_TAG] = self._source_instance.data_version() self._cached_props[self.DATA_VERSION_TAG] = self._source_instance.data_version()
self._cached_props[self.STORAGE_VERSION_TAG] = self.STORAGE_VERSION self._cached_props[self.STORAGE_VERSION_TAG] = self.STORAGE_VERSION
self._save_cache() if self._store_on_get:
self._save_cache()
def _load_cache(self): def _load_cache(self):
if os.path.exists(self._cache_filename): if os.path.exists(self._cache_filename):

File diff suppressed because it is too large Load Diff

Binary file not shown.