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 126750f commit f32b28aCopy full SHA for f32b28a
src/huggingface_hub/commands/user.py
@@ -36,7 +36,7 @@
36
37
import subprocess
38
from argparse import _SubParsersAction
39
-from typing import Optional
+from typing import List, Optional
40
41
from requests.exceptions import HTTPError
42
@@ -200,7 +200,7 @@ def _select_token_name(self) -> Optional[str]:
200
except ValueError:
201
print("Invalid input. Please enter a number or 'q' to quit.")
202
203
- def _select_token_name_tui(self, token_names: list[str]) -> Optional[str]:
+ def _select_token_name_tui(self, token_names: List[str]) -> Optional[str]:
204
choices = [Choice(token_name, name=token_name) for token_name in token_names]
205
try:
206
return inquirer.select(
0 commit comments