From 7e02502268a4083230e59389a041e1cd022ca2a0 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Thu, 14 May 2020 11:41:54 -0400 Subject: [PATCH] Add comments to DownloadStatusPage --- src/allmydata/web/status.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/allmydata/web/status.py b/src/allmydata/web/status.py index 1e6c05488..9be4ee09a 100644 --- a/src/allmydata/web/status.py +++ b/src/allmydata/web/status.py @@ -490,8 +490,12 @@ class _EventJson(Resource, object): class DownloadStatusPage(MultiFormatResource): + """Renders /status/down-%d.""" def __init__(self, download_status): + """ + :param IDownloadStatus download_status: stats provider + """ super(DownloadStatusPage, self).__init__() self._download_status = download_status self.putChild("event_json", _EventJson(self._download_status))