From 3150721c49baeeec221baac85780b60b534535f8 Mon Sep 17 00:00:00 2001 From: provinzkraut Date: Sun, 24 Nov 2024 19:32:00 +0100 Subject: [PATCH] fix typing --- litestar/datastructures/upload_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litestar/datastructures/upload_file.py b/litestar/datastructures/upload_file.py index 82b1da1ade..a1e5c7d6b4 100644 --- a/litestar/datastructures/upload_file.py +++ b/litestar/datastructures/upload_file.py @@ -49,7 +49,7 @@ def rolled_to_disk(self) -> bool: """ return getattr(self.file, "_rolled", False) - async def write(self, data: bytes) -> int: + async def write(self, data: bytes | bytearray) -> int: """Proxy for data writing. Args: