code: def _request(self, method: str, relative_endpoint: str, data=None):
      kwargs = {
          "method": method,
          "url": urljoin(self.base_url, relative_endpoint),
          "headers": {
              "Authorization": "ApiKey " + self.api_key,
          },
      }
      if data is not None:
          kwargs["data"] = data
      return requests.request(**kwargs)
  
imports: import requests
  from urllib.parse import urljoin
label_desc: Use image node_id 2 for calling the Lightdash obj's underlying member method code with example usage: obj._request(method, relative_endpoint, data) and returns: requests