Skip to content

Commit e201b0a

Browse files
authored
Merge pull request #957 from matthewwiese/main
Update to Redis 6.0.0 snake case
2 parents bd6e769 + 2496ce6 commit e201b0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redis_loader/redis_loader/loaders/redisearch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import redis
33
from redis.commands.search import Search
44
from redis.commands.search.field import NumericField, TagField, TextField
5-
from redis.commands.search.indexDefinition import IndexDefinition
5+
from redis.commands.search.index_definition import IndexDefinition
66

77
# module
88
import redis_loader
@@ -129,7 +129,7 @@ def __makeOrGetIndex(self, name, fields, definition, chunk_size):
129129
name (str): The name of the RediSearch index to be loaded.
130130
fields (list[redis.commands.search.field.Field]): The fields the index should
131131
contain.
132-
definition (redis.commands.search.indexDefinition.IndexDefinition): A
132+
definition (redis.commands.search.index_definition.IndexDefinition): A
133133
definition of the index.
134134
chunk_size (int): The chunk size to be used for Redis batch processing.
135135

0 commit comments

Comments
 (0)