bugfix
This commit is contained in:
parent
90fa34301b
commit
b6720a4479
@ -21,7 +21,7 @@ class MilvusManager(BaseVDB):
|
|||||||
"bvector": DataType.BINARY_VECTOR,
|
"bvector": DataType.BINARY_VECTOR,
|
||||||
"json": DataType.JSON
|
"json": DataType.JSON
|
||||||
}
|
}
|
||||||
def __new__(cls):
|
def __new__(cls, *args, **kwargs):
|
||||||
with cls._lock:
|
with cls._lock:
|
||||||
if cls._instance is None:
|
if cls._instance is None:
|
||||||
cls._instance = super(MilvusDBConnection, cls).__new__(cls)
|
cls._instance = super(MilvusDBConnection, cls).__new__(cls)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user