We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b9bf8b commit 1a00a4fCopy full SHA for 1a00a4f
pinecone/config.py
@@ -137,7 +137,7 @@ def _preprocess_and_validate_config(self, config: dict) -> dict:
137
and raises ValueError in case an invalid value was specified.
138
"""
139
# general preprocessing and filtering
140
- result = {k.strip(): v.strip() for k, v in config.items() if v is not None}
+# result = {k.strip(): v.strip() for k, v in config.items() if v is not None}
141
result = {k: v for k, v in result.items() if k in ConfigBase._fields}
142
result.pop('environment', None)
143
# validate api key
0 commit comments