def reports(self):
        """returns a list of reports on the server"""
        if self._metrics is None:
            self.__init()
        self._reports = []
        for r in self._metrics:
            url = self._url + "/%s" % six.moves.urllib.parse.quote_plus(r['reportname'])
            self._reports.append(UsageReport(url=url,
                                             securityHandler=self._securityHandler,
                                             proxy_url=self._proxy_url,
                                             proxy_port=self._proxy_port,
                                             initialize=True))
            del url
        return self._reports
def reports ( self ) : if self . _metrics is None : self . __init ( ) self . _reports = [ ] for r in self . _metrics : url = self . _url + "/%s" % six . moves . urllib . parse . quote_plus ( r [ 'reportname' ] ) self . _reports . append ( UsageReport ( url = url , securityHandler = self . _securityHandler , proxy_url = self . _proxy_url , proxy_port = self . _proxy_port , initialize = True ) ) del url return self . _reports
returns a list of reports on the server