fix docstring for documents endpoint

This commit is contained in:
ArnoChen
2025-02-17 02:23:24 +08:00
parent dfd7f702dc
commit 6efee1c2fe

View File

@@ -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 = (