From dba5bb5bf792d51deb1bcbc9bf62cc33a3e924ad Mon Sep 17 00:00:00 2001 From: Yibo Wei Date: Wed, 15 May 2024 17:30:11 -0700 Subject: [PATCH] Remove unused session dependency in upload endpoint --- phone_sensors/api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/phone_sensors/api.py b/phone_sensors/api.py index a47fd84..0167da1 100644 --- a/phone_sensors/api.py +++ b/phone_sensors/api.py @@ -37,7 +37,6 @@ def health_check() -> str: @app.post("/upload") async def upload( *, - session: Session = Depends(get_db_session), redis_conn: Redis = Depends(get_redis_connection), sensor_id: UUID = Form(...), timestamp: datetime.datetime = Form(...),