code: def __getitem__(self, name):
      return self.__dict__[name]
  
file_path: zipline/zipline/finance/transaction.py
imports: from __future__ import division
  from copy import copy
  from zipline.assets import Asset
  from zipline.protocol import DATASOURCE_TYPE
  from zipline.utils.input_validation import expect_types
label_desc: Use image node_id 2 for calling the Transaction obj's underlying member method code with example usage: obj.__getitem__(name) and returns: self