Skip to content

Commit 6b10fd5

Browse files
siwoo-jungSiwoo Jung
and
Siwoo Jung
authoredMar 10, 2025··
Updated the return type annotation of in function from to . (#1547)
Co-authored-by: Siwoo Jung <[email protected]>
1 parent bacf23f commit 6b10fd5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ All notable changes to this project will be documented in this file.
1010

1111
### Image Redactor
1212

13+
- Changed: Updated the return type annotation of `ocr_bboxes` in `verify_dicom_instance()` from `dict` to `list`.
14+
1315
### Presidio Structured
1416

1517
### General

‎presidio-image-redactor/presidio_image_redactor/dicom_image_pii_verify_engine.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def verify_dicom_instance(
5555
ocr_kwargs: Optional[dict] = None,
5656
ad_hoc_recognizers: Optional[List[PatternRecognizer]] = None,
5757
**text_analyzer_kwargs,
58-
) -> Tuple[Optional[PIL.Image.Image], dict, list]:
58+
) -> Tuple[Optional[PIL.Image.Image], list, list]:
5959
"""Verify PII on a single DICOM instance.
6060
6161
:param instance: Loaded DICOM instance including pixel data and metadata.

0 commit comments

Comments
 (0)
Please sign in to comment.