code: def _attr_value_repr(v):
      try:
          array = get_union_array(v.array)
      except AttributeError:
          from .InterleavedBufferAttribute_autogen import (
              InterleavedBufferAttribute,
          )
  
          if not isinstance(v, InterleavedBufferAttribute):
              raise
          return repr(v)
      # Return full repr if array size is small:
      if array.size < 50:
          return repr(v)
      # Otherwise, return a summary:
      return "<%s shape=%r, dtype=%s>" % (
          v.__class__.__name__,
          array.shape,
          array.dtype,
      )
  
file_path: pythreejs/pythreejs/core/BufferGeometry.py
imports: from ipywidgets import register, widget_serialization
  from traitlets import validate, TraitError, Undefined
  from ipydatawidgets import NDArrayWidget, get_union_array
  from .Geometry import _make_key_filter
  from .BufferGeometry_autogen import BufferGeometry
label_desc: Use image node_id 2 for calling a global function with example usage: _attr_value_repr(v) and returns: unknown, repr, repr