Skip to content

Commit e0f35a4

Browse files
ChristophKoerneralwayslove2013
authored andcommitted
Fix python import in MemoryDB client
The incorrect import is a result of previous duplicate import of the same class name and recent refactoring. 032515f#diff-1638e273a6d7eee7b4412bf79bda9112da86d53e18d1b650b8b80a2e1df4f7e6R15
1 parent 91c351b commit e0f35a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vectordb_bench/backend/clients/memorydb/memorydb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
from redis import Redis
1010
from redis.cluster import RedisCluster
1111
from redis.commands.search.field import NumericField, TagField, VectorField
12-
from redis.commands.search.indexDefinition import IndexDefinition
12+
from redis.commands.search.indexDefinition import IndexDefinition, IndexType
1313
from redis.commands.search.query import Query
1414

15-
from ..api import IndexType, VectorDB
15+
from ..api import VectorDB
1616
from .config import MemoryDBIndexConfig
1717

1818
log = logging.getLogger(__name__)

0 commit comments

Comments
 (0)