Skip to content

Commit c579722

Browse files
committed
fix: fix types
1 parent 7a5044d commit c579722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cellseg_models_pytorch/transforms/functional/generic_transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def _check_operation_bounds(name: str, low: MAGNITUDE, high: MAGNITUDE) -> None:
288288

289289
def _magnitude_kwargs(
290290
operation_name: str, bounds: Tuple[MAGNITUDE, MAGNITUDE], rng: RandomState
291-
) -> Optional[dict[str, MAGNITUDE]]:
291+
) -> Optional[Dict[str, MAGNITUDE]]:
292292
"""Generate magnitude kwargs for apply_operations."""
293293
if operation_name == "tone":
294294
return dict(

0 commit comments

Comments
 (0)