code: def get_labels(data):
      """Returns the list of labels for the given issue or PR data."""
      return [
          edge["node"]["name"]
          for edge in data["node"]["labels"]["edges"]
      ]
  
file_path: bokeh/scripts/milestone.py
imports: import datetime
  import logging
  import os
  import sys
  from itertools import groupby
  from pathlib import Path
  import click
  import requests
label_desc: Use image node_id 2 for calling a global function with example usage: get_labels(data) and returns: unknown