Skip to content

Commit eda5c2a

Browse files
committed
add folder for cache and add redis requirements
1 parent 9999b14 commit eda5c2a

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

File renamed without changes.

api/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from api.module import get_xp_by_github, get_pokemon, get_svg_banner
22
from flask import Flask, request, Response
33
from dotenv import load_dotenv
4-
from cache import get_from_cache, save_to_cache
4+
from cache.cache import get_from_cache, save_to_cache
55

66
load_dotenv("./infra/envs/.env")
77
app = Flask(__name__)

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
requests==2.32.3
22
Flask==3.0.3
3-
python-dotenv==1.0.1
3+
python-dotenv==1.0.1
4+
redis==4.3.1

0 commit comments

Comments
 (0)