Skip to content

Use running loop for asyncio futures#60

Draft
Mirochill wants to merge 1 commit into
agentruntimecontrolprotocol:mainfrom
Mirochill:fix-50-running-loop-futures
Draft

Use running loop for asyncio futures#60
Mirochill wants to merge 1 commit into
agentruntimecontrolprotocol:mainfrom
Mirochill:fix-50-running-loop-futures

Conversation

@Mirochill
Copy link
Copy Markdown

Summary

  • Replace Future allocations that used asyncio.get_event_loop() with asyncio.get_running_loop().
  • Add MemoryTransport submit coverage with DeprecationWarning treated as an error.

Closes #50

Validation

  • git diff --check
  • Not run locally: tests, linters, build

Signed-off-by: Miro <200482516+Mirochill@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

asyncio.get_event_loop() used inside async code will warn on 3.12 and raise on 3.14

1 participant