Skip to content

Commit 1a91049

Browse files
committed
Typing.
1 parent 87034b2 commit 1a91049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bittensor_cli/src/commands/sudo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async def set_hyperparameter_extrinsic(
135135
wallet: "Wallet",
136136
netuid: int,
137137
parameter: str,
138-
value: Union[str, bool, float, list[float]],
138+
value: Optional[Union[str, bool, float, list[float]]],
139139
wait_for_inclusion: bool = False,
140140
wait_for_finalization: bool = True,
141141
) -> bool:
@@ -549,7 +549,7 @@ async def sudo_set_hyperparameter(
549549
subtensor: "SubtensorInterface",
550550
netuid: int,
551551
param_name: str,
552-
param_value: str,
552+
param_value: Optional[str],
553553
):
554554
"""Set subnet hyperparameters."""
555555

0 commit comments

Comments
 (0)