mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 07:05:36 +01:00
Fix
This commit is contained in:
@@ -164,7 +164,7 @@ class BaseSearchService(Generic[MODEL, QUERY], BaseService[MODEL, QUERY]):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def get(cls, query: QUERY, redis: aioredis.Redis) -> Page[MODEL]:
|
async def get(cls, query: QUERY, redis: aioredis.Redis) -> Page[MODEL]:
|
||||||
no_cache: bool = query.get("no_cache", False) # type: ignore
|
no_cache: bool = query.pop("no_cache", False) # type: ignore
|
||||||
|
|
||||||
params = cls.get_params()
|
params = cls.get_params()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user