fix docstring for documents endpoint
This commit is contained in:
@@ -1746,9 +1746,9 @@ def create_app(args):
|
|||||||
async def documents() -> DocsStatusesResponse:
|
async def documents() -> DocsStatusesResponse:
|
||||||
"""
|
"""
|
||||||
Get documents statuses
|
Get documents statuses
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
DocsStatusesResponse: A response object containing the status, message, and the number of indexed documents.
|
DocsStatusesResponse: A response object containing a dictionary where keys are DocStatus
|
||||||
|
and values are lists of DocStatusResponse objects representing documents in each status category.
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
statuses = (
|
statuses = (
|
||||||
|
Reference in New Issue
Block a user