Fixed annotation error
This commit is contained in:
parent
cdb36298ca
commit
894f24f0df
@ -70,7 +70,7 @@ async def get_reindex(tasks: BackgroundTasks) -> dict[str, str]:
|
||||
|
||||
|
||||
@app.get("/api/search")
|
||||
def get_search(q: str, count: int = 20, page: int = 1) -> dict[str, str]:
|
||||
def get_search(q: str, count: int = 20, page: int = 1) -> dict[str, Any]:
|
||||
return search(q, count, page)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user