Fix import statement for index_definition in redis_cache.py and radio_util.py (dependency upgrade related-- redis module)
This commit is contained in:
@@ -13,7 +13,7 @@ from lyric_search import notifier
|
|||||||
from lyric_search.constructors import LyricsResult
|
from lyric_search.constructors import LyricsResult
|
||||||
import redis.asyncio as redis
|
import redis.asyncio as redis
|
||||||
from redis.commands.search.query import Query # type: ignore
|
from redis.commands.search.query import Query # type: ignore
|
||||||
from redis.commands.search.indexDefinition import IndexDefinition, IndexType # type: ignore
|
from redis.commands.search.index_definition import IndexDefinition, IndexType # type: ignore
|
||||||
from redis.commands.search.field import TextField, Field # type: ignore
|
from redis.commands.search.field import TextField, Field # type: ignore
|
||||||
from redis.commands.json.path import Path # type: ignore
|
from redis.commands.json.path import Path # type: ignore
|
||||||
from . import private
|
from . import private
|
||||||
|
@@ -17,7 +17,7 @@ from rapidfuzz import fuzz
|
|||||||
from endpoints.constructors import RadioException
|
from endpoints.constructors import RadioException
|
||||||
import redis.asyncio as redis
|
import redis.asyncio as redis
|
||||||
from redis.commands.search.query import Query # noqa
|
from redis.commands.search.query import Query # noqa
|
||||||
from redis.commands.search.indexDefinition import IndexDefinition, IndexType # noqa
|
from redis.commands.search.index_definition import IndexDefinition, IndexType # noqa
|
||||||
from redis.commands.search.field import TextField # noqa
|
from redis.commands.search.field import TextField # noqa
|
||||||
from redis.commands.json.path import Path # noqa
|
from redis.commands.json.path import Path # noqa
|
||||||
from lyric_search.sources import private
|
from lyric_search.sources import private
|
||||||
|
Reference in New Issue
Block a user