mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-09 16:18:00 -05:00
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