Muhammad Abdur Rahman Saad
commited on
Commit
·
0e34a58
1
Parent(s):
3ca4e7f
eliminate trailing whitespace
Browse files- app/routes/summary.py +4 -4
app/routes/summary.py
CHANGED
@@ -139,13 +139,13 @@ async def get_summary_module(module: str) -> JSONResponse:
|
|
139 |
# ) -> JSONResponse:
|
140 |
# """
|
141 |
# Get document statistics for a specific user.
|
142 |
-
|
143 |
# This endpoint counts the number of unique emails and files uploaded by the user.
|
144 |
# It groups documents by metadata.id to ensure unique document counting (not chunks).
|
145 |
-
|
146 |
# Args:
|
147 |
# email (str): The user's email address
|
148 |
-
|
149 |
# Returns:
|
150 |
# JSONResponse: A JSON response containing document counts:
|
151 |
# {
|
@@ -154,7 +154,7 @@ async def get_summary_module(module: str) -> JSONResponse:
|
|
154 |
# "files": 12,
|
155 |
# "total_documents": 17
|
156 |
# }
|
157 |
-
|
158 |
# Raises:
|
159 |
# HTTPException: 400 for invalid email, 500 for database errors
|
160 |
# """
|
|
|
139 |
# ) -> JSONResponse:
|
140 |
# """
|
141 |
# Get document statistics for a specific user.
|
142 |
+
|
143 |
# This endpoint counts the number of unique emails and files uploaded by the user.
|
144 |
# It groups documents by metadata.id to ensure unique document counting (not chunks).
|
145 |
+
|
146 |
# Args:
|
147 |
# email (str): The user's email address
|
148 |
+
|
149 |
# Returns:
|
150 |
# JSONResponse: A JSON response containing document counts:
|
151 |
# {
|
|
|
154 |
# "files": 12,
|
155 |
# "total_documents": 17
|
156 |
# }
|
157 |
+
|
158 |
# Raises:
|
159 |
# HTTPException: 400 for invalid email, 500 for database errors
|
160 |
# """
|