Skip to content

Commit 3d0dc6c

Browse files
fix union type hint
1 parent d03a62a commit 3d0dc6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ilastik_tasks/ilastik_pixel_classification_segmentation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ def ilastik_pixel_classification_segmentation(
189189
default_factory=IlastikChannel2InputModel
190190
),
191191
input_ROI_table: str = "FOV_ROI_table",
192-
output_ROI_table: str | None = None,
193-
output_label_name: str | None = None,
192+
output_ROI_table: Union[str, None] = None,
193+
output_label_name: Union[str, None] = None,
194194
use_masks: bool = True,
195195
# Ilastik-related arguments
196196
ilastik_model: str,

0 commit comments

Comments
 (0)