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.
2 parents 755e3e9 + c394ec0 commit 4ca8ff8Copy full SHA for 4ca8ff8
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