Skip to content

Commit 5051a15

Browse files
committed
Adds type to the Request.files docs
1 parent 8a0e4c4 commit 5051a15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/quart/wrappers/request.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ async def files(self) -> MultiDict:
321321
322322
This will return an empty multidict unless the request
323323
mimetype was ``enctype="multipart/form-data"`` and the method
324-
POST, PUT, or PATCH.
324+
POST, PUT, or PATCH; in that case the type of values in the
325+
multidict is ``FileStorage``.
325326
"""
326327
await self._load_form_data()
327328
return self._files

0 commit comments

Comments
 (0)