Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzkraut authored and cofin committed Nov 26, 2024
1 parent 21bceb1 commit 3150721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litestar/datastructures/upload_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3150721

Please sign in to comment.