feat: add support for the --all to proxy remove#834
Merged
thewhaleking merged 12 commits intoopentensor:stagingfrom Mar 19, 2026
Merged
feat: add support for the --all to proxy remove#834thewhaleking merged 12 commits intoopentensor:stagingfrom
--all to proxy remove#834thewhaleking merged 12 commits intoopentensor:stagingfrom
Conversation
--all to proxy remove
Contributor
Author
|
Hi @thewhaleking would you review my PR? |
f576009 to
874e5e6
Compare
thewhaleking
requested changes
Mar 19, 2026
thewhaleking
previously approved these changes
Mar 19, 2026
Contributor
Author
|
@thewhaleking thank you for you review and time |
Contributor
Author
|
Passed all CI and ready to merge 😉 |
thewhaleking
approved these changes
Mar 19, 2026
Contributor
|
Sorry @eureka928 , |
3056d50 to
ff85629
Compare
…d error on conflicting args
ff85629 to
2a6174b
Compare
Contributor
Author
Signed and pushed again |
thewhaleking
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refactor of #791, addressing reviewer feedback from @thewhaleking.
This PR adds the
--allflag tobtcli proxy removeso users can remove all proxies in a single operation. The two review comments on #791 have been addressed:--delegatetogether with--allnow returns an error instead of silently ignoring the delegate.remove_proxies()function has been merged into the existingremove_proxy()function using aremove_all: bool = Falseparameter, reducing code duplication.Type of change
What's changed
CLI validation flow
Usage
Remove a single proxy
Remove all proxies (requires typing "REMOVE" to confirm)
Remove all proxies without prompt
Testing
Unit tests
Lint
Checklist
--allto proxy remove #791 addressedContribution by Gittensor, learn more at https://gittensor.io/