format property

format property

The input document file type.

It is None until a format has been set; test for None rather than against FileType.unknown, which it never equals.

Definition:

@property
def format(self):
    ...
@format.setter
def format(self, value):
    ...

See Also