format property

format property

The input document file type, which is None until a format has been set; test it for None rather than against FileType.unknown, which it never equals.

Definition:

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

See Also