Skip to content

Commit ddd8851

Browse files
committed
remove index_config
1 parent f8484ef commit ddd8851

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pinecone/manage.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class IndexDescription(NamedTuple):
2929
shards: int
3030
pods: int
3131
pod_type: str
32-
index_config: None
3332
status: None
3433
metadata_config: None
3534
source_collection: None
@@ -201,8 +200,7 @@ def describe_index(name: str):
201200
return IndexDescription(name=db['name'], metric=db['metric'],
202201
replicas=db['replicas'], dimension=db['dimension'], shards=db['shards'],
203202
pods=db.get('pods', db['shards'] * db['replicas']), pod_type=db.get('pod_type', 'p1'),
204-
index_config=db.get('index_config'), status={'ready': ready, 'state': state},
205-
metadata_config=db.get('metadata_config'),
203+
status={'ready': ready, 'state': state}, metadata_config=db.get('metadata_config'),
206204
source_collection=db.get('source_collection', ''))
207205

208206

0 commit comments

Comments
 (0)