Skip to content

Commit

Permalink
Pass the is_dynamic field to the milvus server (#1495)
Browse files Browse the repository at this point in the history
Signed-off-by: cai.zhang <[email protected]>
  • Loading branch information
xiaocai2333 authored May 31, 2023
1 parent 54d4d53 commit 196f40e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pymilvus/client/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 196f40e

Please sign in to comment.