-
Notifications
You must be signed in to change notification settings - Fork 281
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
Asyc bittensor/extrinsics
(part 4)
#2000
Conversation
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.
LGTM
@@ -96,7 +96,7 @@ def set_weights_extrinsic( | |||
":satellite: Setting weights on [white]{}[/white] ...".format(subtensor.network) | |||
): | |||
try: | |||
success, error_message = subtensor._do_set_weights( | |||
success, error_message = subtensor.do_set_weights( |
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.
Coroutine is never awaited.
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.
Wait. I almost broke down. But then I realized that this file should not be in this PR :)
Inclused async migration for:
bittensor/extrinsics/root.py
bittensor/extrinsics/senate.py
.bittensor/extrinsics/serving.py
All of them refactored, has some small bug fixes, and async migrated.
For easy review you can do this via commits.