Skip to content

Commit

Permalink
Merge pull request #6 from nooneischgl/main
Browse files Browse the repository at this point in the history
Fixes #5  Adding pydantic-settings used by FastAPI
  • Loading branch information
cyberdevnet authored Aug 30, 2023
2 parents 6fcfbe0 + d1e3fae commit a4b1149
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 a4b1149

Please sign in to comment.