code: def get_predictors_list(company_id=None):
      headers = {}
      if company_id is not None:
          headers["company-id"] = f"{company_id}"
      res = requests.get(
          f"{HTTP_API_ROOT}/predictors/", headers=headers
      )
      assert res.status_code == 200
      return res.json()
  
file_path: mindsdb/tests/integration_tests/flows/http_test_helpers.py
imports: import requests
  import time
  from mindsdb.api.executor.data_types.response_type import RESPONSE_TYPE
  from .conftest import HTTP_API_ROOT
label_desc: Use image node_id 1 for calling a global function with example usage: get_predictors_list(company_id) and returns: res