Skip to content

Commit

Permalink
Merge pull request #98 from pinecone-io/fix_index_config
Browse files Browse the repository at this point in the history
Remove index_config from IndexDescription
  • Loading branch information
mutayroei authored Aug 14, 2022
2 parents e683d30 + ddd8851 commit 03e530b
Showing 1 changed file with 1 addition and 3 deletions.
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

0 comments on commit 03e530b

Please sign in to comment.