-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds support for list type inputs #103
Adds support for list type inputs #103
Conversation
* Init commit * Fixes table * Working * Adds back Hotkey * Adds separation in overview * WIP: Senate * Finishes senate e2e * Fixes tests
bittensor_cli/cli.py
Outdated
@@ -138,7 +138,7 @@ class Options: | |||
show_default=False, | |||
) | |||
netuids = typer.Option( | |||
[], | |||
None, | |||
"--netuids", | |||
"-n", | |||
help="Set the netuid(s) to filter by. Separate multiple netuids with a space, for example: `0 1 2`.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs updated
bittensor_cli/cli.py
Outdated
@@ -149,7 +149,7 @@ class Options: | |||
prompt=True, | |||
) | |||
weights = typer.Option( | |||
[], | |||
None, | |||
"--weights", | |||
"-w", | |||
help="Weights for the specified UIDs, e.g. `-w 0.2 -w 0.4 -w 0.1 ...` Must correspond to the order of the UIDs.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs updated
…support-lists # Conflicts: # bittensor_cli/cli.py
Approved, but do we want to do the same thing for |
Great call - let me implement this there too; then we can merge in one go |
* Give user the UID immediately after root registration. * Subnet register
* Give user the UID immediately after root registration. * Only check size of PGP fingerprint if it's actually set.
* Enhances max_stake and column change in list-delegates * Ruff * Ruff --------- Co-authored-by: Benjamin Himes <[email protected]>
--netuid 1,2,3,4
or--netuid "1, 2, 3, 4"
instead of-n 1 -n 2 -n 3