diff --git a/app/caches.py b/app/caches.py index df95f508..55b0c2db 100644 --- a/app/caches.py +++ b/app/caches.py @@ -1,3 +1,11 @@ +class caches: + _instance = None + @staticmethod + def get_instance(): + if caches.__instance == None: + caches + return __instance + """app.caches.py""" import functools import logging