1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Cache storage API stabilized

This commit is contained in:
Игорь Чудов 2019-12-06 18:27:27 +04:00
parent ad6712a6de
commit 40ee4ec8c4
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -4,3 +4,21 @@ class cache(ABC):
def __init__(self):
pass
@classmethod
def store(self, str_id, value):
'''
'''
pass
@classmethod
def get(self, obj_id):
'''
'''
pass
@classmethod
def get_default(self, obj_id, default_value):
'''
'''
pass