pinecone-io / pinecone-python-client

The Pinecone Python client
https://www.pinecone.io/docs
Apache License 2.0
306 stars 80 forks source link

Update client with inlined type definitions under IndexModel and CreateIndexRequest #249

Closed jhamon closed 11 months ago

jhamon commented 11 months ago

Problem

We want to keep the amount of generated cruft being pushed into peoples' faces to a minimum

Solution

We made some changes to our private openapi spec, then regenerated the core. Now fields such as name, dimension, and metric should be native python types.

Usage

Screenshot 2023-11-26 at 11 11 27 PM

Type of Change