class_docstr: Abstract base class
class_docstr_tok: ["Abstract","base","class"]
code: def __init__(self, metric_type, name, context=None):
      self._type = metric_type
      self._name = name
      self._context = context
  
imports: import time
  from contextlib import contextmanager
  from metaflow.sidecar import Message, MessageTypes, Sidecar
label_desc: Use image node_id 1 to create a new Metric object from inherited base classes: object with example: obj = Metric(metric_type, name, context)