tidy(nodes): "latents" -> "obj"

This commit is contained in:
psychedelicious 2024-02-10 10:06:50 +11:00
parent ff249a2315
commit c1e5cd5893

View File

@ -36,9 +36,9 @@ class ObjectSerializerForwardCache(ObjectSerializerBase[T]):
if cache_item is not None: if cache_item is not None:
return cache_item return cache_item
latent = self._underlying_storage.load(name) obj = self._underlying_storage.load(name)
self._set_cache(name, latent) self._set_cache(name, obj)
return latent return obj
def save(self, obj: T) -> str: def save(self, obj: T) -> str:
name = self._underlying_storage.save(obj) name = self._underlying_storage.save(obj)