Skip to content

Commit 4eb75af

Browse files
committed
Fix typing
1 parent 3921e84 commit 4eb75af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bittensor_cli/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,9 @@ def wallet_ask(
16711671
wallet_name: Optional[str],
16721672
wallet_path: Optional[str],
16731673
wallet_hotkey: Optional[str],
1674-
ask_for: Optional[list[Union[str, Literal]]] = None,
1674+
ask_for: Optional[
1675+
list[Union[str, Literal[WO.NAME, WO.PATH, WO.HOTKEY]]]
1676+
] = None,
16751677
validate: WV = WV.WALLET,
16761678
return_wallet_and_hotkey: bool = False,
16771679
) -> Union[Wallet, tuple[Wallet, str]]:

0 commit comments

Comments
 (0)