src/pyams_utils/progress.py
changeset 72 9049384a2bd4
parent 63 f188db1a1ce7
child 89 b32bcb6a311e
--- a/src/pyams_utils/progress.py	Tue Nov 15 10:43:55 2016 +0100
+++ b/src/pyams_utils/progress.py	Fri Nov 18 15:28:54 2016 +0100
@@ -117,7 +117,10 @@
 
 @view_config(name='get_progress_status.json', renderer='JSON', xhr=True)
 def get_progress_status_view(request):
-    """Get progress status"""
+    """Get progress status of a given task
+
+    Each submitted task is identified by an ID defined when the task is created
+    """
     if 'progress_id' not in request.params:
         raise HTTPBadRequest("Missing argument")
     return get_progress_status(request.params['progress_id'])