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 755e3e9 commit c394ec0Copy full SHA for c394ec0
bittensor_cli/src/commands/sudo.py
@@ -79,7 +79,7 @@ def allowed_value(
79
return True, value
80
81
82
-def string_to_bool(val) -> bool | type[ValueError]:
+def string_to_bool(val) -> bool:
83
try:
84
return {"true": True, "1": True, "0": False, "false": False}[val.lower()]
85
except KeyError:
0 commit comments