diff --git a/app/app.py b/app/app.py index 8e6016335d..b57bba0b29 100644 --- a/app/app.py +++ b/app/app.py @@ -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)() diff --git a/requirements.txt b/requirements.txt index 25f366b298..9197269593 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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