mirror of
https://github.com/fastapi/fastapi.git
synced 2026-07-21 04:13:16 -04:00
472 B
472 B
UploadFile class
You can define path operation function parameters to be of the type UploadFile to receive files from the request.
You can import it directly from fastapi:
from fastapi import UploadFile
::: fastapi.UploadFile options: members: - file - filename - size - headers - content_type - read - write - seek - close