ArnoChen
commited on
Commit
·
fc40a87
1
Parent(s):
271afa2
fix docstring for documents endpoint
Browse files
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
|
|
|
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 = (
|