docstr: pass_id: namespace::func_name (e.g., 'common::const_elimination')
code: def __getitem__(self, pass_id: Text) -> AbstractGraphPass:
      """
      pass_id: namespace::func_name (e.g., 'common::const_elimination')
      """
      if pass_id not in self.passes:
          raise KeyError(f"Pass {pass_id} not found")
      current_pass = self.passes[pass_id]
      # The current_pass could be a PassContainer instance if registered by register_generic_pass.
      return (
          current_pass()
          if inspect.isclass(current_pass)
          else current_pass
      )
  
file_path: coremltools/coremltools/converters/mil/mil/passes/pass_registry.py
imports: import inspect
  from typing import Dict, Optional, Text, Type
  from coremltools import _logger
  from coremltools.converters.mil.mil.passes.graph_pass import AbstractGraphPass
label_desc: Use image node_id 2 for calling the PassRegistry obj's underlying member method code with example usage: obj.__getitem__(pass_id) and returns: unknown