major claude changes
This commit is contained in:
@@ -2,7 +2,6 @@ import os
|
|||||||
def load_config(mode=os.environ.get('MODE')):
|
def load_config(mode=os.environ.get('MODE')):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
print(f"mode is {mode}")
|
|
||||||
if mode == 'PRODUCTION':
|
if mode == 'PRODUCTION':
|
||||||
from settings_prod import ApplicationConfig
|
from settings_prod import ApplicationConfig
|
||||||
return ApplicationConfig
|
return ApplicationConfig
|
||||||
@@ -19,4 +18,4 @@ def load_config(mode=os.environ.get('MODE')):
|
|||||||
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from settings_local import ApplicationConfig
|
from settings_local import ApplicationConfig
|
||||||
return ApplicationConfig
|
return ApplicationConfig
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
fastapi
|
# eamco_playground dependencies
|
||||||
uvicorn[standard]
|
# FastAPI web framework and server
|
||||||
psycopg2-binary
|
fastapi==0.115.6
|
||||||
sqlalchemy
|
uvicorn[standard]==0.34.0
|
||||||
pyowm
|
|
||||||
setuptools
|
# Database
|
||||||
|
SQLAlchemy==2.0.40
|
||||||
|
psycopg2-binary==2.9.10
|
||||||
|
|
||||||
|
# Weather API
|
||||||
|
pyowm==3.3.0
|
||||||
|
|
||||||
|
# Build tools
|
||||||
|
setuptools==75.8.0
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ class ApplicationConfig:
|
|||||||
Basic Configuration for a generic User
|
Basic Configuration for a generic User
|
||||||
"""
|
"""
|
||||||
|
|
||||||
print("USING TESTING APPLICATIONCONFIG!!!!!")
|
|
||||||
CURRENT_SETTINGS = 'DEVELOPMENT'
|
CURRENT_SETTINGS = 'DEVELOPMENT'
|
||||||
# databases info
|
# databases info
|
||||||
POSTGRES_USERNAME = 'postgres'
|
POSTGRES_USERNAME = 'postgres'
|
||||||
|
|||||||
Reference in New Issue
Block a user