code: def add_needle(speed: float, units: str) -> None:
      angle = speed_to_angle(speed, units)
      plot.add_glyph(
          Ray(
              x=0,
              y=0,
              length=data(0.75),
              angle=angle,
              line_color="black",
              line_width=3,
          )
      )
      plot.add_glyph(
          Ray(
              x=0,
              y=0,
              length=data(0.10),
              angle=angle - pi,
              line_color="black",
              line_width=3,
          )
      )
  
file_path: bokeh/examples/models/gauges.py
imports: from math import pi
  from typing import Any, Literal
  from bokeh.core.properties import expr, value
  from bokeh.document import Document
  from bokeh.embed import file_html
  from bokeh.models import Arc, Circle, ColumnDataSource, Plot, PolarTransform, Range1d, Ray, Text
  from bokeh.util.browser import view
label_desc: Use image node_id 3 for calling a global function with example usage: add_needle(speed, units) without return types