Skip to content

Commit

Permalink
Fixes #5 Adding pydantic-settings used by FastAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase Gleason committed Aug 23, 2023
1 parent 6fcfbe0 commit d1e3fae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion back-end/development_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from dotenv import load_dotenv
from pydantic import BaseSettings
from pydantic_settings import BaseSettings


load_dotenv(verbose=True)
Expand Down
2 changes: 1 addition & 1 deletion back-end/production_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from dotenv import load_dotenv
from pydantic import BaseSettings
from pydantic_settings import BaseSettings


load_dotenv(verbose=True)
Expand Down
5 changes: 3 additions & 2 deletions back-end/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
rlog==0.3
fastapi
fastapi==0.101.0
uvicorn==0.11.8
motor==2.5.1
meraki==1.15.0
python-dotenv
pytest==7.1.2
requests==2.27.1
requests==2.27.1
pydantic-settings==2.0.3

0 comments on commit d1e3fae

Please sign in to comment.