Base functionality for all redactions, derived from MetadataRedaction base class, is metadata filtering and it is mandatory for metadata redactions. It uses the flagged enumeration MetadataFilters, which contains items for the most frequent metadata entries. You can set the filter to All or any combination of metadata.
defapply_to(self,format_instance):...
Parameter
Type
Description
format_instance
DocumentFormatInstance
An instance of a document to apply redaction.
Returns: Status of the redaction: success/failure and error message if any.
Aliases
These names call apply_to too, limited to the overloads listed.