Skip to content

Commit

Permalink
anonymize_list return type hint fix (#1178)
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ckwind authored Sep 19, 2023
1 parent d8541e9 commit f36caf4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from presidio_anonymizer import AnonymizerEngine
from presidio_anonymizer.entities import DictRecognizerResult
from presidio_anonymizer.entities import EngineResult, RecognizerResult
from presidio_anonymizer.entities import RecognizerResult


class BatchAnonymizerEngine:
Expand All @@ -22,7 +22,7 @@ def anonymize_list(
texts: List[Union[str, bool, int, float]],
recognizer_results_list: List[List[RecognizerResult]],
**kwargs
) -> List[EngineResult]:
) -> List[Union[str, object]]:
"""
Anonymize a list of strings.
Expand Down

0 comments on commit f36caf4

Please sign in to comment.