code: def __init__(
      self, parent, name, metric_group_type=MetricGroupType.generic
  ):
      self._parent = parent
      self._sub_groups = []
      self._name = name
      self._metric_group_type = metric_group_type
      self._flink_gauge = {}
      self._beam_gauge = {}
  
imports: import json
  from enum import Enum
  from typing import Callable, List, Tuple
  from pyflink.fn_execution.metrics.process.counter_impl import CounterImpl
  from pyflink.fn_execution.metrics.process.distribution_impl import DistributionImpl
  from pyflink.fn_execution.metrics.process.meter_impl import MeterImpl
  from pyflink.metrics import MetricGroup, Counter, Distribution, Meter
label_desc: Use image node_id 1 to create a new GenericMetricGroup object from inherited base classes: MetricGroup with example: obj = GenericMetricGroup(parent, name, metric_group_type)