improved converters and helpers
This commit is contained in:
9
cookbook/helper/cache_helper.py
Normal file
9
cookbook/helper/cache_helper.py
Normal file
@ -0,0 +1,9 @@
|
||||
class CacheHelper:
|
||||
space = None
|
||||
|
||||
BASE_UNITS_CACHE_KEY = None
|
||||
|
||||
def __init__(self, space):
|
||||
self.space = space
|
||||
|
||||
self.BASE_UNITS_CACHE_KEY = f'SPACE_{space.id}_BASE_UNITS'
|
Reference in New Issue
Block a user