code: def get_label_component(data):
      """Returns the component label of the given issue or PR data, otherwise None."""
      return get_label_for(data, "tag: component: ")
  
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 5 for calling a global function with example usage: get_label_component(data) and returns: get_label_for