code: def __getitem__(self, name):
      return self.__dict__[name]
  
file_path: catalyst/catalyst/finance/transaction.py
imports: from __future__ import division
  from copy import copy
  from catalyst.assets import Asset
  from catalyst.protocol import DATASOURCE_TYPE
  from catalyst.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