We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be62a2d commit fa16ffdCopy full SHA for fa16ffd
presidio-analyzer/presidio_analyzer/recognizer_registry/recognizer_registry.py
@@ -161,6 +161,7 @@ def get_recognizers(
161
if ad_hoc_recognizers:
162
all_possible_recognizers.extend(ad_hoc_recognizers)
163
164
+ # filter out unwanted recognizers
165
to_return = set()
166
if all_fields:
167
to_return = [
@@ -177,6 +178,7 @@ def get_recognizers(
177
178
self.add_recognizer_map(all_entity_recognizers, supported_entity, rec)
179
elif type(rec.supported_entities) == str:
180
181
+
182
for entity in entities:
183
if entity not in all_entity_recognizers:
184
logger.warning(
0 commit comments