Skip to content
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

Child Hotkeys - Interactive cli #2085

Draft
wants to merge 13 commits into
base: staging
Choose a base branch
from
3 changes: 2 additions & 1 deletion .github/workflows/e2e-subtensor-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

pull_request:
branches: [main, development, staging]
types: [ opened, synchronize, reopened, ready_for_review ]

workflow_dispatch:
inputs:
Expand All @@ -27,7 +28,7 @@ jobs:
# Job to find all test files
find-tests:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false && github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
outputs:
test-files: ${{ steps.get-tests.outputs.test-files }}
steps:
Expand Down
2 changes: 2 additions & 0 deletions bittensor/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
SetChildCommand,
SetChildrenCommand,
GetChildrenCommand,
ChildHotkeysCommand,
RevokeChildCommand,
RevokeChildrenCommand,
)
Expand Down Expand Up @@ -177,6 +178,7 @@
"revoke_child": RevokeChildCommand,
"set_children": SetChildrenCommand,
"revoke_children": RevokeChildrenCommand,
"child_hotkeys": ChildHotkeysCommand,
},
},
"weights": {
Expand Down
1 change: 1 addition & 0 deletions bittensor/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
from .stake.show import StakeShow
from .stake.revoke_child import RevokeChildCommand
from .stake.revoke_children import RevokeChildrenCommand
from .stake.child_hotkeys import ChildHotkeysCommand
from .unstake import UnStakeCommand
from .overview import OverviewCommand
from .register import (
Expand Down
Loading