From 196f40eaf7107842585abb991f8b81c954f59ef1 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Wed, 31 May 2023 15:47:24 +0800 Subject: [PATCH] Pass the is_dynamic field to the milvus server (#1495) Signed-off-by: cai.zhang --- pymilvus/client/prepare.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pymilvus/client/prepare.py b/pymilvus/client/prepare.py index 858d5e356..d63f4427a 100644 --- a/pymilvus/client/prepare.py +++ b/pymilvus/client/prepare.py @@ -96,7 +96,8 @@ def get_schema_from_collection_schema(cls, collection_name: str, fields: Collect is_primary_key=f.is_primary, autoID=f.auto_id, is_partition_key=f.is_partition_key, - default_value=f.default_value) + default_value=f.default_value, + is_dynamic=f.is_dynamic) for k, v in f.params.items(): kv_pair = common_types.KeyValuePair(key=str(k), value=str(v)) field_schema.type_params.append(kv_pair)