code: def __init__(self, name, deep, parent: Optional["NS"] = None) -> None:
      self.name = name
      self.deep = deep
      self.parent = parent
  
      if self.parent is None:
          self._federation_tag = self.get_name()
          self._metric_groups = []
      else:
          self._federation_tag = f"{self.parent._federation_tag}{_NS_FEDERATION_SPLIT}{self.get_name()}"
          self._metric_groups = [
              *self.parent._metric_groups,
              self.parent.get_group(),
          ]
  
file_path: FATE/python/fate/arch/context/_namespace.py
imports: import logging
  from typing import List, Optional, Tuple
label_desc: Use image node_id 1 to create a new NS object  with example: obj = NS(name, deep, parent)