code: def __getitem__(self, package):
      return self.packages[package]
  
file_path: snakemake/snakemake/report/data/packages.py
imports: import json
  from snakemake.exceptions import WorkflowError
  from snakemake.report.data.common import get_resource_as_string
  import snakemake
label_desc: Use image node_id 2 for calling the Packages obj's underlying member method code with example usage: obj.__getitem__(package) and returns: self