__init__ constructor

On this page

init

Initializes a new instance of the FileInfo.file_type class.

def __init__(self):
    ...

init

Initializes a new instance of the FileInfo.file_type class.

def __init__(self, file_type):
    ...
Parameter Type Description
file_type FileType The type of the file.
Raises Description
ValueError If file_type is None.

See Also

On this page