Skip to content

Commit 15cdbac

Browse files
authored
fix: code ruff format (#355)
1 parent 2da62c8 commit 15cdbac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/memos/vec_dbs/milvus.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class MilvusVecDB(BaseVecDB):
2121
def __init__(self, config: MilvusVecDBConfig):
2222
"""Initialize the Milvus vector database and the collection."""
2323
from pymilvus import MilvusClient
24+
2425
self.config = config
2526

2627
# Create Milvus client
@@ -34,6 +35,7 @@ def __init__(self, config: MilvusVecDBConfig):
3435
def create_schema(self):
3536
"""Create schema for the milvus collection."""
3637
from pymilvus import DataType
38+
3739
schema = self.client.create_schema(auto_id=False, enable_dynamic_field=True)
3840
schema.add_field(
3941
field_name="id", datatype=DataType.VARCHAR, max_length=65535, is_primary=True

0 commit comments

Comments
 (0)