apply_strategy(
content: str,
matches: list[PIIMatch],
strategy: RedactionStrategy
)| Name | Type | Description |
|---|---|---|
content* | str | |
matches* | list[PIIMatch] | |
strategy* | RedactionStrategy |
Apply the configured strategy to matches within content.
The content to apply strategy to.
List of detected PII matches.
The redaction strategy to apply.