docstr: pass_id (str): namespace::func_name (e.g., 'common::const_elimination')
docstr_tok: ["pass_id","(","str",")",":","namespace",":",":func_name","(","e.g.",",","'common",":",":const_elimination","'",")"]
code: def __getitem__(self, pass_id):
      """
      pass_id (str): namespace::func_name (e.g., 'common::const_elimination')
      """
      if pass_id not in self.passes:
          raise KeyError("Pass {} not found".format(pass_id))
      return self.passes[pass_id]
  
imports: import logging
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: self