Skip to content

Commit

Permalink
Unit test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Nov 14, 2024
1 parent bbfd0eb commit 56a07d4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pinecone/data/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __init__(
api_client_klass=ApiClient,
api_klass=VectorOperationsApi,
config=self.config,
openapi_config=openapi_config,
openapi_config=self._openapi_config,
pool_threads=pool_threads,
api_version=API_VERSION,
)
Expand Down
4 changes: 2 additions & 2 deletions pinecone/data/query_results_aggregator.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from typing import List, Tuple, Optional, Any, Dict
import json
import heapq
from pinecone.core.openapi.data.models import Usage
from pinecone.core.openapi.data.models import QueryResponse as OpenAPIQueryResponse
from pinecone.core.openapi.db_data.models import Usage
from pinecone.core.openapi.db_data.models import QueryResponse as OpenAPIQueryResponse

from dataclasses import dataclass, asdict

Expand Down
11 changes: 11 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 56a07d4

Please sign in to comment.