Fix import statement for index_definition in redis_cache.py and radio_util.py (dependency upgrade related-- redis module)

This commit is contained in:
2025-10-15 12:13:03 -04:00
parent c493f2aabf
commit 3f66223328
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ from lyric_search import notifier
from lyric_search.constructors import LyricsResult
import redis.asyncio as redis
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.json.path import Path # type: ignore
from . import private

View File

@@ -17,7 +17,7 @@ from rapidfuzz import fuzz
from endpoints.constructors import RadioException
import redis.asyncio as redis
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.json.path import Path # noqa
from lyric_search.sources import private