accept_redaction method

accept_redaction(self, description)

This call is triggered right before applying any redaction to the document and allows to log or forbid it.

Returns

Return true to accept or false to decline particular match redaction


def accept_redaction(self, description):
    ...
Parameter Type Description
description RedactionDescription Contains information about particular match type, criteria, text and position

See Also