ArnoChen commited on
Commit
fc40a87
·
1 Parent(s): 271afa2

fix docstring for documents endpoint

Browse files
Files changed (1) hide show
  1. lightrag/api/lightrag_server.py +2 -2
lightrag/api/lightrag_server.py CHANGED
@@ -1746,9 +1746,9 @@ def create_app(args):
1746
  async def documents() -> DocsStatusesResponse:
1747
  """
1748
  Get documents statuses
1749
-
1750
  Returns:
1751
- DocsStatusesResponse: A response object containing the status, message, and the number of indexed documents.
 
1752
  """
1753
  try:
1754
  statuses = (
 
1746
  async def documents() -> DocsStatusesResponse:
1747
  """
1748
  Get documents statuses
 
1749
  Returns:
1750
+ DocsStatusesResponse: A response object containing a dictionary where keys are DocStatus
1751
+ and values are lists of DocStatusResponse objects representing documents in each status category.
1752
  """
1753
  try:
1754
  statuses = (