diff --git a/pymilvus/orm/schema.py b/pymilvus/orm/schema.py index 786ef6479..6cb07d7ee 100644 --- a/pymilvus/orm/schema.py +++ b/pymilvus/orm/schema.py @@ -330,6 +330,11 @@ def __init__(self, name: str, dtype: DataType, description: str = "", **kwargs) self.element_type = kwargs.get("element_type", None) if "mmap_enabled" in kwargs: self._type_params["mmap_enabled"] = kwargs["mmap_enabled"] + # use `skip_load` to follow other kwargs format + if "skip_load" in kwargs: + self._type_params["field.skipLoad"] = kwargs[ + "skip_load" + ] # set `field.skipLoad` since it's the actual key self._parse_type_params() def __repr__(self) -> str: