add missing docstring

This commit is contained in:
Jakub Trllo 2024-04-29 16:07:35 +02:00
parent 3980f59211
commit f10d266029

View file

@ -76,6 +76,12 @@ class CacheItem:
return self._data
def update_data(self, data):
"""Update cache data.
Args:
data (Any): Any data that are cached.
"""
self._data = data
self._last_update = time.time()