Definition
UploadedFile to receive one. A parameter can also be a
list[UploadedFile], and an upload nested in a dict or a dataclass field resolves the same way.
Check mime_type before decoding, because a client can upload anything.A file a client sent, fetched by the runtime and handed over as bytes.
UploadedFile to receive one. A parameter can also be a
list[UploadedFile], and an upload nested in a dict or a dataclass field resolves the same way.
Check mime_type before decoding, because a client can upload anything.