Skip to content

Bilal/async asyncconnection asynccursor and aioconnect - #844

Closed
bgunebakan wants to merge 18 commits into
mainfrom
bilal/async-asyncconnection-asynccursor-and-aioconnect
Closed

bgunebakan wants to merge 18 commits into
mainfrom
bilal/async-asyncconnection-asynccursor-and-aioconnect

Conversation

@bgunebakan

Copy link
Copy Markdown
Contributor

Summary of the changes / Why this is an improvement

adds the public objects of crate.client.aio on top of the shared base classes and the async transport.

Checklist

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

@bgunebakan bgunebakan self-assigned this Oct 27, 2026
@bgunebakan bgunebakan closed this Oct 27, 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
await asyncio.sleep(delay)
task.cancel()
with pytest.raises(asyncio.CancelledError):
await task
session = client.server_pool[crate.url]._session
assert session is not None and session.closed
with pytest.raises(exceptions.Error):
await request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants