Skip to content

Commit

Permalink
remove index_config
Browse files Browse the repository at this point in the history
  • Loading branch information
yarden-slon committed Aug 14, 2022
1 parent f8484ef commit ddd8851
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.get('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 ddd8851

Please sign in to comment.