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

Asyc bittensor/extrinsics (part 4) #2000

Merged
merged 6 commits into from
Jun 11, 2024
Merged

Conversation

RomanCh-OT
Copy link
Contributor

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.

@RomanCh-OT RomanCh-OT requested a review from a team June 11, 2024 19:21
@RomanCh-OT RomanCh-OT self-assigned this Jun 11, 2024
@RomanCh-OT RomanCh-OT added feature new feature added bittensor labels Jun 11, 2024
Copy link
Contributor

@opendansor opendansor left a 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(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coroutine is never awaited.

Copy link
Contributor Author

@RomanCh-OT RomanCh-OT Jun 11, 2024

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 :)

@RomanCh-OT RomanCh-OT marked this pull request as ready for review June 11, 2024 22:37
@RomanCh-OT RomanCh-OT merged commit bcc8d6e into merge-async Jun 11, 2024
4 of 7 checks passed
@RomanCh-OT RomanCh-OT deleted the async/roman/e-p-4 branch June 11, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants