Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia committed Aug 28, 2024
1 parent 3ab0863 commit 0cc576c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pymilvus/orm/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,9 @@ def __init__(self, name: str, dtype: DataType, description: str = "", **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._type_params["field.skipLoad"] = kwargs[
"skip_load"
] # set `field.skipLoad` since it's the actual key
self._parse_type_params()

def __repr__(self) -> str:
Expand Down

0 comments on commit 0cc576c

Please sign in to comment.