From ae3636e1ea8fb2573eebeaa1c9fafd7509adc6f4 Mon Sep 17 00:00:00 2001 From: Hemanth Thirthahalli Date: Thu, 13 Nov 2025 16:17:51 +0530 Subject: [PATCH] ruff fix --- fastapi/datastructures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/datastructures.py b/fastapi/datastructures.py index d7c49f1b7..b6ff24044 100644 --- a/fastapi/datastructures.py +++ b/fastapi/datastructures.py @@ -136,7 +136,7 @@ class UploadFile(StarletteUploadFile): To be awaitable, compatible with async, this is run in threadpool. """ return await super().close() - + async def read_text( self, encoding: Annotated[