We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 677efb2 commit 16e2758Copy full SHA for 16e2758
pymilvus/client/abstract.py
@@ -161,7 +161,7 @@ def __init__(self, raw: Any):
161
def __pack(self, raw: Any):
162
self.collection_name = raw.schema.name
163
self.description = raw.schema.description
164
- self.aliases = raw.aliases
+ self.aliases = list(raw.aliases)
165
self.collection_id = raw.collectionID
166
self.num_shards = raw.shards_num
167
self.num_partitions = raw.num_partitions
@@ -184,7 +184,8 @@ def __pack(self, raw: Any):
184
185
# for s in raw.statistics:
186
187
- self.properties = raw.properties
+ for p in raw.properties:
188
+ self.properties[p.key] = p.value
189
190
@classmethod
191
def _rewrite_schema_dict(cls, schema_dict: Dict):
0 commit comments