We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a29bbcf + 5dc4887 commit 3e97ec9Copy full SHA for 3e97ec9
1 file changed
weaviate/collections/classes/config.py
@@ -2362,8 +2362,8 @@ def inject_vector_config_none(
2362
) -> Union[_VectorConfigCreate, List[_VectorConfigCreate], None]:
2363
if (
2364
v is None
2365
- and info.data["vectorizerConfig"] is None
2366
- and info.data["vectorIndexConfig"] is None
+ and info.data.get("vectorizerConfig") is None
+ and info.data.get("vectorIndexConfig") is None
2367
):
2368
return _VectorConfigCreate(
2369
name="default",
0 commit comments