Skip to content

FilePickerFileType

FilePickerFileType #

Bases: Enum

Defines the file types that can be selected using the FilePicker.

ANY = 'any' #

Allows any file type.

AUDIO = 'audio' #

Allows only audio files.

CUSTOM = 'custom' #

Allows only the custom file types specified in the allowed_extensions list.

IMAGE = 'image' #

Allows only image files.

MEDIA = 'media' #

A combination of VIDEO and IMAGE.

VIDEO = 'video' #

Allows only video files.