Skip to content

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

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

bgunebakan wants to merge 12 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):
@bgunebakan
bgunebakan marked this pull request as ready for review October 30, 2026 10:15
…al/async-asyncconnection-asynccursor-and-aioconnect
…onnection' into bilal/async-asyncconnection-asynccursor-and-aioconnect
@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