Skip to content

Async: Implement HTTP transport for crate.client.aio - #843

Closed
bgunebakan wants to merge 12 commits into
mainfrom
bilal/async-http-transport-for-crateclientaio
Closed

bgunebakan wants to merge 12 commits into
mainfrom
bilal/async-http-transport-for-crateclientaio

Conversation

@bgunebakan

Copy link
Copy Markdown
Contributor

Summary of the changes / Why this is an improvement

Checklist

  • Link to issue this PR refers to (if applicable): Fixes #crate/ecosystem/issues/57

@bgunebakan bgunebakan self-assigned this Oct 22, 2026
Comment thread tests/client/conftest.py
import importlib.util

if importlib.util.find_spec("aiohttp") is not None:
from .aio_support import fake_crate # noqa: F401
Comment thread tests/client/test_aio_http.py Fixed
Comment thread tests/client/test_aio_http.py Fixed
session = client.server_pool[crate.url]._session
assert session is not None and session.closed
with pytest.raises(exceptions.Error):
await request
await asyncio.sleep(delay)
task.cancel()
with pytest.raises(asyncio.CancelledError):
await task
@mergify

mergify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

This pull request is closed, so it cannot be queued. Reopen it to get the box back.

@bgunebakan

Copy link
Copy Markdown
Contributor Author

Closing this as not planned for now.

@bgunebakan bgunebakan closed this Nov 24, 2026
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.

2 participants