From 4bf14f7858cab2951201389a435e927fc07ee627 Mon Sep 17 00:00:00 2001 From: Uxio Fuentefria <6909403+Uxio0@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:32:02 +0100 Subject: [PATCH] Move cache to datasources --- app/datasources/cache/__init__.py | 0 app/{cache.py => datasources/cache/redis.py} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 app/datasources/cache/__init__.py rename app/{cache.py => datasources/cache/redis.py} (80%) diff --git a/app/datasources/cache/__init__.py b/app/datasources/cache/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/app/cache.py b/app/datasources/cache/redis.py similarity index 80% rename from app/cache.py rename to app/datasources/cache/redis.py index d45e34d..3b0b759 100644 --- a/app/cache.py +++ b/app/datasources/cache/redis.py @@ -2,7 +2,7 @@ from redis import Redis -from .config import settings +from app.config import settings @cache