mirror of
https://github.com/ltcptgeneral/cs239-caching.git
synced 2026-02-03 06:31:02 +00:00
15 lines
250 B
Python
15 lines
250 B
Python
from .cache import Cache
|
|
|
|
class NoCache(Cache):
|
|
|
|
def __init__(self, limit: int):
|
|
pass
|
|
|
|
def get(self, key):
|
|
return None
|
|
|
|
def put(self, key, val):
|
|
return False
|
|
|
|
def invalidate(self, key):
|
|
return False |