diff --git a/src/backend/langflow/cache/base.py b/src/backend/langflow/cache/base.py index 96639774b..f2ee9854d 100644 --- a/src/backend/langflow/cache/base.py +++ b/src/backend/langflow/cache/base.py @@ -17,7 +17,6 @@ class BaseCache(abc.ABC): Returns: The value associated with the key, or None if the key is not found. """ - pass @abc.abstractmethod def set(self, key, value): @@ -38,14 +37,12 @@ class BaseCache(abc.ABC): Args: key: The key of the item to remove. """ - pass @abc.abstractmethod def clear(self): """ Clear all items from the cache. """ - pass @abc.abstractmethod def __contains__(self, key): @@ -58,7 +55,6 @@ class BaseCache(abc.ABC): Returns: True if the key is in the cache, False otherwise. """ - pass @abc.abstractmethod def __getitem__(self, key): @@ -71,7 +67,6 @@ class BaseCache(abc.ABC): Returns: The value associated with the key, or None if the key is not found. """ - pass @abc.abstractmethod def __setitem__(self, key, value): @@ -82,7 +77,6 @@ class BaseCache(abc.ABC): key: The key of the item. value: The value to cache. """ - pass @abc.abstractmethod def __delitem__(self, key): @@ -92,4 +86,3 @@ class BaseCache(abc.ABC): Args: key: The key of the item to remove. """ - pass