Skip to content

Commit 1a00a4f

Browse files
Update config.py
1 parent 4b9bf8b commit 1a00a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pinecone/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def _preprocess_and_validate_config(self, config: dict) -> dict:
137137
and raises ValueError in case an invalid value was specified.
138138
"""
139139
# general preprocessing and filtering
140-
result = {k.strip(): v.strip() for k, v in config.items() if v is not None}
140+
# result = {k.strip(): v.strip() for k, v in config.items() if v is not None}
141141
result = {k: v for k, v in result.items() if k in ConfigBase._fields}
142142
result.pop('environment', None)
143143
# validate api key

0 commit comments

Comments
 (0)