From 3aaa87d2ba58620290f9f448d4efde4ea8cf5a3c Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Thu, 7 May 2020 13:15:05 -0400 Subject: [PATCH] Add notes to RetrieveStatusPage --- src/allmydata/web/status.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/allmydata/web/status.py b/src/allmydata/web/status.py index 3d9175ff1..8a423e69f 100644 --- a/src/allmydata/web/status.py +++ b/src/allmydata/web/status.py @@ -674,9 +674,14 @@ class DownloadStatusPage(DownloadResultsRendererMixin, rend.Page): return data.get_status() + +# Renders "/status/retrieve-%d". class RetrieveStatusPage(MultiFormatResource): def __init__(self, retrieve_status): + """ + :retrieve_status retrieve.RetrieveStatus: stats provider. + """ super(RetrieveStatusPage, self).__init__() self._retrieve_status = retrieve_status