Skip to content

Types

types

Types for the extension.

FileOperation = Literal['show', 'update', 'delete'] module-attribute

Operation that performed on file.

OwnerOperation = Literal['show', 'update', 'delete', 'file_transfer', 'file_scan'] module-attribute

Operation that performed on owner.

Uploadable = Union[FileStorage, 'tempfile.SpooledTemporaryFile[Any]', TextIOWrapper, bytes, bytearray, BinaryIO] module-attribute

Content that can be converted into Upload.