Skip to content

Enable Async turbopuffer API #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

playc8
Copy link

@playc8 playc8 commented Mar 1, 2025

Enables Python asyncio turbopuffer calls. This implements all the tubobuffer entry points to have an async counterpart as well as keeping the existing synchronous API. The synchronous API is implemented to use the async API which eliminates code duplication, this also means the unit tests provide the same coverage for the async API.
Some tests which depended on implementation details needed some surgery to work with the new async implementation (not fun since mocking the async impl required involved mocks).

Added some docs to README.

This is an extensive change and it re-implements virtually all code paths. Very extensive testing should be performed before releasing to the wild.

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.

1 participant