code: def _request(self, action='GET', url='/', data=None, query_params=None):
          
          if data is None:
              data = {}
          if query_params is None:
              query_params = {}
          response = self.session.request(action, self.api[self.account]['endpoint'] + url,
                                          params=query_params, data=data)
          response.raise_for_status()
          return response
docs: Requests to Hetzner by current session and returns the response.