code: def list(self, account=None, username=None):
          
          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
docs: 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