code: def __init__(
      self,
      meters: Optional[Dict[str, Meter]] = None,
      meterdicts: Optional[Dict[str, MeterDict]] = None,
  ) -> None:
      self._meters = OrderedDict()
      self._meterdicts = OrderedDict()
      if meters is not None:
          for name, meter in meters.items():
              self.register_meter(name, meter)
      if meterdicts is not None:
          for name, meterdict in meterdicts.items():
              self.register_meterdict(name, meterdict)
  
imports: from __future__ import annotations
  import warnings
  import json
  from typing import Dict, Union, Optional
  from collections import OrderedDict
  from .meters import Meter
label_desc: Use image node_id 1 to create a new MeterDict object from inherited base classes: object with example: obj = MeterDict(meters, meterdicts)