class_docstr: When a component has swappable subcomponents, use this object to specify both the
  component type and it's subcomponent types at the same time.
class_docstr_tok: ["When","a","component","has","swappable","subcomponents",",","use","this","object","to","specify","both","the","component","type","and","it","'s","subcomponent","types","at","the","same","time","."]
docstr: Forward calls to this instance to __init__ of wrapped class.
docstr_tok: ["Forward","calls","to","this","instance","to","__init__","of","wrapped","class","."]
code: def __call__(self, *args, **kwargs) -> MC:
      """
      Forward calls to this instance to __init__ of wrapped class.
      """
      return self._klass(
          *args, subcomponents=self._subcomponents, **kwargs
      )
  
file_path: ParlAI/parlai/agents/transformer/modules/modular.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import Any, Callable, Dict, Generic, Optional, Type, TypeVar
label_desc: Use image node_id 2 for calling the ModularComponentBuilder obj's underlying member method code with example usage: obj.__call__() and returns: self