Skip to content

Async: AsyncConnection, AsyncCursor and aio.connect() - #845

Draft
bgunebakan wants to merge 9 commits into
bilal/async-http-transport-for-crateclientaiofrom
bilal/async-asyncconnection-asynccursor-and-aioconnect
Draft

bgunebakan wants to merge 9 commits into
bilal/async-http-transport-for-crateclientaiofrom
bilal/async-asyncconnection-asynccursor-and-aioconnect

Conversation

@bgunebakan

@bgunebakan bgunebakan commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary of the changes / Why this is an improvement

Depends on #842 and #843

This PR 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 added this pull request to stack #846 October 27, 2026 16:06
@bgunebakan bgunebakan changed the title Bilal/async asyncconnection asynccursor and aioconnect Async: asyncconnection asynccursor and aioconnect Oct 27, 2026
@bgunebakan bgunebakan changed the title Async: asyncconnection asynccursor and aioconnect Async: AsyncConnection, AsyncCursor and aio.connect() Oct 27, 2026
@bgunebakan
bgunebakan marked this pull request as draft October 27, 2026 16:12
await probing.wait()
task.cancel()
with pytest.raises(asyncio.CancelledError):
await task
return state


def _outcome(call):
return ("raised", type(ex), str(ex))


async def _async_outcome(call):
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