code: def add_component(self, components):
      # Check whether the type is a sequence
      if isinstance(components, Sequence):
          for component in components:
              self._add_single_component(component)
      else:
          component = components
          self._add_single_component(component)
  
      return components
  
file_path: PaddleSeg/EISeg/eiseg/util/manager.py
imports: import inspect
  from collections.abc import Sequence
label_desc: Use image node_id 11 for calling the ComponentManager obj's underlying member method code with example usage: obj.add_component(components) and returns: components