From 08a282f0695fbb432ef0e91652e24aeaff939e20 Mon Sep 17 00:00:00 2001 From: George Panchuk Date: Sun, 5 Jan 2025 11:35:42 +0100 Subject: [PATCH] fix: pass strict mode config in update collection --- qdrant_client/async_qdrant_remote.py | 1 + qdrant_client/qdrant_remote.py | 1 + 2 files changed, 2 insertions(+) diff --git a/qdrant_client/async_qdrant_remote.py b/qdrant_client/async_qdrant_remote.py index a6149dff..66ae79a1 100644 --- a/qdrant_client/async_qdrant_remote.py +++ b/qdrant_client/async_qdrant_remote.py @@ -2391,6 +2391,7 @@ async def update_collection( hnsw_config=hnsw_config, quantization_config=quantization_config, sparse_vectors=sparse_vectors_config, + strict_mode_config=strict_mode_config, ), timeout=timeout, ) diff --git a/qdrant_client/qdrant_remote.py b/qdrant_client/qdrant_remote.py index 86592b4e..54147c71 100644 --- a/qdrant_client/qdrant_remote.py +++ b/qdrant_client/qdrant_remote.py @@ -2646,6 +2646,7 @@ def update_collection( hnsw_config=hnsw_config, quantization_config=quantization_config, sparse_vectors=sparse_vectors_config, + strict_mode_config=strict_mode_config, ), timeout=timeout, ).result