def fetch(self, session, requires_id=True, error_message=None):
    request = self._prepare_request(requires_id=requires_id)
    headers = {'Client-ID': (self.client_id or str(uuid.uuid4())), 'X-PROJECT-ID': (self.project_id or session.get_project_id())}
    request.headers.update(headers)
    response = session.get(request.url, headers=headers)
    self._translate_response(response)
    return self
def fetch(self, session, requires_id=True, error_message=None):
    request = self._prepare_request(requires_id=requires_id)
    headers = {'Client-ID': (self.client_id or str(uuid.uuid4())), 'X-PROJECT-ID': (self.project_id or session.get_project_id())}
    request.headers.update(headers)
    response = session.get(request.url, headers=headers)
    self._translate_response(response)
    return self