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

This commit is contained in:
psychedelicious 2024-02-10 10:06:50 +11:00
parent a9b1aad3d7
commit 6087ace4f1

View File

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