code: def get_runner_status(target_runners, token):
      offline_runners = []
  
      cmd = (
          f'curl -H "Accept: application/vnd.github+json" -H "Authorization: Bearer {token}"'
          " https://api.github.com/repos/huggingface/transformers/actions/runners"
      )
      output = subprocess.run(cmd, shell=True, stdout=subprocess.PIPE)
      o = output.stdout.decode("utf-8")
      status = json.loads(o)
  
      runners = status["runners"]
      for runner in runners:
          if runner["name"] in target_runners:
              if runner["status"] == "offline":
                  offline_runners.append(runner)
  
      # save the result so we can report them on Slack
      with open("offline_runners.txt", "w") as fp:
          fp.write(json.dumps(offline_runners))
  
      if len(offline_runners) > 0:
          failed = "\n".join([x["name"] for x in offline_runners])
          raise ValueError(
              f"The following runners are offline:\n{failed}"
          )
  
imports: import argparse
  import json
  import subprocess
label_desc: Use image node_id 1 for calling a global function with example usage: get_runner_status(target_runners, token) without return types