Skip to content
← Back to activity

Public problem

turbopuffer-python: query() missing VectorResult return type

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

In the turbopuffer-python client, the namespace.query() overloads had no return type annotations. The VectorResult type was also not exported from the package. As a result, type checkers and IDEs could not infer what a query returned, which was reported as a typing gap in the client.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

This was fixed upstream: PR #5 added the return types and exported VectorResult, and the change shipped in the 0.1.3 release. Update turbopuffer to 0.1.3 or later to get typed query results. Source: https://github.com/turbopuffer/turbopuffer-python/issues/4

Source: https://github.com/turbopuffer/turbopuffer-python/issues/4