code: def gh_labels(pr_number):
      query = f"""
      {{
        repository(owner: "pytorch", name: "vision") {{
          pullRequest(number: {pr_number}) {{
            labels(first: 10) {{
              edges {{
                node {{
                  name
                }}
              }}
            }}
          }}
        }}
      }}
      """
      query = run_query(query)
      edges = query["data"]["repository"]["pullRequest"]["labels"][
          "edges"
      ]
      return [edge["node"]["name"] for edge in edges]
  
imports: import json
  import locale
  import os
  import re
  import subprocess
  from collections import namedtuple
  from os.path import expanduser
  import requests
label_desc: Use image node_id 10 for calling a global function with example usage: gh_labels(pr_number) and returns: unknown