Skip to content

Commit

Permalink
Type hinting fix for older pythons
Browse files Browse the repository at this point in the history
  • Loading branch information
CPBridge committed Jan 18, 2024
1 parent b470a52 commit 26008b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def process_csv_row(
area_per_pixel_um2: float,
store_boundary: bool = True,
annotation_coordinate_type: hd.ann.AnnotationCoordinateTypeValues = hd.ann.AnnotationCoordinateTypeValues.SCOORD, # noqa: E501
) -> Tuple[Polygon, np.ndarray, float] | Tuple[None, None, None]:
) -> Union[Tuple[Polygon, np.ndarray, float], Tuple[None, None, None]]:
"""Process a single annotation CSV file.
Parameters
Expand Down

0 comments on commit 26008b5

Please sign in to comment.