docs: def _request(self, method, url, **kwargs):
          # type: (str, str, **Any) -> requests.Response
          """Perform the request on the API."""
          self.last_request = None
          self.last_response = self.session.request(method, url, auth=self.auth, headers=self.headers, **kwargs)
          self.last_request = self.last_response.request
          self.last_url = self.last_response.url
  
          if self.last_response.status_code == requests.codes.forbidden:
              raise ForbiddenError(self.last_response.json()['results'][0]['detail'])
  
          return self.last_response