code: def __getitem__(self, key):
      return self._leafs_[key]
  
imports: from enum import IntEnum
  from typing import List
  import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 9 for calling the NgramPart obj's underlying member method code with example usage: obj.__getitem__(key) and returns: self