<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list(self, account=None, username=None):
 """List of all uploads Returns a Response object, the json() method of which returns a list of uploads Parameters username : str Account username, defaults to the service's username. account : str, **deprecated** Alias for username. Will be removed in version 1.0. Returns ------- requests.Response """

        username = self._resolve_username(account, username)
        uri = URITemplate(self.baseuri + '/{username}').expand(
            username=username)
        resp = self.session.get(uri)
        self.handle_http_error(resp)
        return resp