Refactors Project for More Declarative Package Name

This commit is contained in:
2023-08-18 03:25:30 -03:00
parent 2bd7ae10b9
commit f3e77889a2
29 changed files with 108 additions and 80 deletions

View File

@@ -0,0 +1,12 @@
from dotenv import load_dotenv
import os
def get_config_redis():
load_dotenv()
return {
"host": os.environ.get("REDIS_HOST", "localhost"),
"port": os.environ.get("REDIS_PORT", 6379),
"password": os.environ.get("REDIS_PASSWORD", None),
}