We need to expose the pool_threads config in the new Pinecone constructor. This config property is ultimately used by the ApiClient class (see here), which is generated by the OpenAPI python generator. It is only used when performing operations over REST using the async_req=True param.
Solution
Add a property and wire it up with the underlying ApiClient object and Index constructor.
Type of Change
[x] Bug fix (non-breaking change which fixes an issue)
Problem
We need to expose the
pool_threads
config in the newPinecone
constructor. This config property is ultimately used by theApiClient
class (see here), which is generated by the OpenAPI python generator. It is only used when performing operations over REST using theasync_req=True
param.Solution
Add a property and wire it up with the underlying
ApiClient
object andIndex
constructor.Type of Change