Class File (1.9.3)

File(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A lightweight description of a file.

Attributes

Name Description
path str
The file path (full or relative path). This is typically the path of the file when it is uploaded.
contents bytes
The bytes that constitute the file.