From 8932194f23fd6229de2b89d92890f807f131241e Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Fri, 22 Nov 2024 16:52:34 +0200 Subject: [PATCH] Remove is_flag and flag_value deprecated Typer args --- bittensor_cli/cli.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bittensor_cli/cli.py b/bittensor_cli/cli.py index 08f8cb08a..26fff060a 100755 --- a/bittensor_cli/cli.py +++ b/bittensor_cli/cli.py @@ -127,8 +127,6 @@ class Options: use_password = typer.Option( True, help="Set this to `True` to protect the generated Bittensor key with a password.", - is_flag=True, - flag_value=False, ) public_hex_key = typer.Option(None, help="The public key in hex format.") ss58_address = typer.Option( @@ -1843,8 +1841,6 @@ def wallet_regen_hotkey( use_password: bool = typer.Option( False, # Overriden to False help="Set to 'True' to protect the generated Bittensor key with a password.", - is_flag=True, - flag_value=True, ), quiet: bool = Options.quiet, verbose: bool = Options.verbose, @@ -1901,8 +1897,6 @@ def wallet_new_hotkey( use_password: bool = typer.Option( False, # Overriden to False help="Set to 'True' to protect the generated Bittensor key with a password.", - is_flag=True, - flag_value=True, ), quiet: bool = Options.quiet, verbose: bool = Options.verbose,