code: def __init__(self, name) -> None:
      self.parts: Tuple[str, ...]
  
      if isinstance(name, str):
          self.parts = tuple(name.split("/"))
      else:
          self.parts = tuple(name)
  
imports: import time
  from dataclasses import dataclass
  from enum import Enum
  from typing import Any, Iterable, Iterator, Optional, Tuple, Union
label_desc: Use image node_id 1 to create a new MetricName object  with example: obj = MetricName(name)