Add notes to RetrieveStatusPage

This commit is contained in:
Sajith Sasidharan 2020-05-07 13:15:05 -04:00
parent 07f14a19f8
commit 3aaa87d2ba

View File

@ -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