mirror of https://github.com/tiangolo/fastapi.git
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