Fixed annotation error
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user