Skip to content

Commit 1d92810

Browse files
author
root
committed
fix(workflows): align catalog priority annotations
Widen workflow and step catalog add_catalog priority annotations to accept numeric strings, matching the existing normalization behavior and tests.
1 parent 95d4c08 commit 1d92810

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/specify_cli/workflows/catalog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def add_catalog(
498498
self,
499499
url: str,
500500
name: str | None = None,
501-
priority: int | None = None,
501+
priority: int | str | None = None,
502502
install_allowed: bool = True,
503503
description: str = "",
504504
) -> None:
@@ -1117,7 +1117,7 @@ def add_catalog(
11171117
self,
11181118
url: str,
11191119
name: str | None = None,
1120-
priority: int | None = None,
1120+
priority: int | str | None = None,
11211121
install_allowed: bool = True,
11221122
description: str = "",
11231123
) -> None:

0 commit comments

Comments
 (0)