Skip to content

Commit

Permalink
Update fastapi to 0.109.2 and fix bug introduced by encode/starlette#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pokegali committed Feb 20, 2024
1 parent 59ad7f5 commit 6e7bac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ async def logging_middleware(
port = request.client.port
client_address = f"{ip_address}:{port}"
else:
ip_address = "0.0.0.0" # In case of a test (see https://github.com/encode/starlette/pull/2377)
client_address = "unknown"

settings: Settings = app.dependency_overrides.get(get_settings, get_settings)()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alembic==1.13.1 # database migrations
fastapi==0.109.1
fastapi==0.109.2
Jinja2==3.1.3 # template engine for html files
bcrypt==4.0.1 # password hashing
pydantic-settings==2.2.1
Expand Down

0 comments on commit 6e7bac9

Please sign in to comment.