-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Peers Managing API #8602
Peers Managing API #8602
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
update their type annotations and docstrings
- refactor `node_peer.py`
fix bugs in network service's `add_route_for` and `delete_route_for`
…n node - exclude `notebooks/Experimental/*` for ruff in pre-commit
on the peer's node. - Refactoring `verify_peer`
both directions
- recheck if the connection to node peer uses the highest priority route
…ng a random route will give back a connection error
…is not specified
…rity` to `create_and_update_peer` Co-authored-by: Shubham Gupta <shubhamgupta3121@gmail.com>
…otebook 10 to prevent flakiness - change role level of `delete_peer_by_id` back to `DATA_OWNER_ROLE_LEVEL` Co-authored-by: Shubham Gupta <shubhamgupta3121@gmail.com>
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.
Nice work @khoaguin !! 💯
Left some comment
…rings - improve returned SyftError message if failed to create a remote client for a peer Co-authored-by: Shubham Gupta <shubhamgupta3121@gmail.com>
instead of the whole NodePeer object Co-authored-by: Shubham Gupta <shubhamgupta3121@gmail.com>
…ity` now takes peer's verify key instead of the whole NodePeer object Co-authored-by: Shubham Gupta <shubhamgupta3121@gmail.com>
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.
Great work @khoaguin !!! 💯 🎉
These APIs would be really handy as an Admin and help in managing the Gateway. 🙏🏾
…ry components Co-authored-by: Shubham Gupta <shubhamgupta3121@gmail.com>
Issue: https://github.com/OpenMined/Heartbeat/issues/1150
NodePeer
worksNetworkService
'sadd_route
,verify_route
)