Skip to content

Consider consitently exposing read units consumed by data plane operations #137

Description

@neon-sunset

Pinecone has Usage type that exposes ReadUnits consumed for Data Plane operations: https://docs.pinecone.io/reference/api/2024-07/data-plane/query

Currently, only List operations expose it. Adding it to other calls means either changing all return types to tuples, response containers that contain the data and read units, or maybe an Operation<T> wrapper.

I'm not sure if this disruption to the users is beneficial and something they care about enough, so just keeping it as a note here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions