def retrieve(self):
    'Retrieve data from server or instance.'
    if (not self.server_port):
        return (self.logged_requests, self.analysis)
    data = self._get()
    return (data.get('logged_requests'), data.get('analysis'))
Retrieve data from server or instance.
def retrieve(self):
    
    if (not self.server_port):
        return (self.logged_requests, self.analysis)
    data = self._get()
    return (data.get('logged_requests'), data.get('analysis'))