This commit is contained in:
Ilya Kaznacheev
2024-12-02 18:06:14 +00:00
committed by GitHub

View File

@@ -159,7 +159,7 @@ class Cache(object):
self.lookup = {} # key: query, value: node
self.linked_list = LinkedList()
def get(self, query)
def get(self, query):
"""Get the stored query result from the cache.
Accessing a node updates its position to the front of the LRU list.