Class File (1.9.2)

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

A lightweight description of a file.

Attributes

NameDescription
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.