Browse Source

Fix for manual cache creation

master
Dirk Alders 3 months ago
parent
commit
104e25e74f
3 changed files with 1141 additions and 1130 deletions
  1. 2
    1
      __init__.py
  2. 1139
    1129
      _testresults_/unittest.json
  3. BIN
      _testresults_/unittest.pdf

+ 2
- 1
__init__.py View File

209
             self._cached_props[self.UID_TAG] = self._source_instance.uid()
209
             self._cached_props[self.UID_TAG] = self._source_instance.uid()
210
             self._cached_props[self.DATA_VERSION_TAG] = self._source_instance.data_version()
210
             self._cached_props[self.DATA_VERSION_TAG] = self._source_instance.data_version()
211
             self._cached_props[self.STORAGE_VERSION_TAG] = self.STORAGE_VERSION
211
             self._cached_props[self.STORAGE_VERSION_TAG] = self.STORAGE_VERSION
212
-            self._save_cache()
212
+            if self._store_on_get:
213
+                self._save_cache()
213
 
214
 
214
     def _load_cache(self):
215
     def _load_cache(self):
215
         if os.path.exists(self._cache_filename):
216
         if os.path.exists(self._cache_filename):

+ 1139
- 1129
_testresults_/unittest.json
File diff suppressed because it is too large
View File


BIN
_testresults_/unittest.pdf View File


Loading…
Cancel
Save