Module spangle.parser¶
Types to parse user uploads.
Classes¶
UploadedFile¶
class UploadedFile(filename: ForwardRef('str'), file: ForwardRef('SpooledTemporaryFile'), mimetype: ForwardRef('str'))
Named tuple to accept client’s uploads via multipart/form-data
.
Attributes
- filename (
str
): Filename, includes.ext
. - file (
SpooledTemporaryFile
): File-like object. - mimetype (
str
): File’s"mime/type"
.
Base classes¶
builtins.tuple