We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74aa598 commit 97b2b75Copy full SHA for 97b2b75
bittensor_cli/cli.py
@@ -12,7 +12,7 @@
12
import warnings
13
from dataclasses import fields
14
from pathlib import Path
15
-from typing import Coroutine, Optional, Union
+from typing import Coroutine, Optional, Union, Literal
16
17
import numpy as np
18
import rich
@@ -1671,7 +1671,7 @@ def wallet_ask(
1671
wallet_name: Optional[str],
1672
wallet_path: Optional[str],
1673
wallet_hotkey: Optional[str],
1674
- ask_for: Optional[list[str]] = None,
+ ask_for: Optional[list[Union[str, Literal]]] = None,
1675
validate: WV = WV.WALLET,
1676
return_wallet_and_hotkey: bool = False,
1677
) -> Union[Wallet, tuple[Wallet, str]]:
0 commit comments