Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions pinecone/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class IndexDescription(NamedTuple):
shards: int
pods: int
pod_type: str
index_config: None
status: None
metadata_config: None
source_collection: None
Expand Down Expand Up @@ -201,8 +200,7 @@ def describe_index(name: str):
return IndexDescription(name=db['name'], metric=db['metric'],
replicas=db['replicas'], dimension=db['dimension'], shards=db['shards'],
pods=db.get('pods', db['shards'] * db['replicas']), pod_type=db.get('pod_type', 'p1'),
index_config=db['index_config'], status={'ready': ready, 'state': state},
metadata_config=db.get('metadata_config'),
status={'ready': ready, 'state': state}, metadata_config=db.get('metadata_config'),
source_collection=db.get('source_collection', ''))


Expand Down