code: def testGetattrCallback(self):
      # Tests that functionality of __getattr__ can be set as a callback.
      module = ChildFastModule("test")
      FastModuleType.set_getattribute_callback(
          module, ChildFastModule._getattribute2
      )
      FastModuleType.set_getattr_callback(
          module, ChildFastModule._getattr
      )
      self.assertEqual(3, module.foo)
  
file_path: tensorflow/tensorflow/python/util/fast_module_type_test.py
imports: from tensorflow.python.platform import test
  from tensorflow.python.util import fast_module_type
label_desc: Use image node_id 3 for calling the FastModuleTypeTest obj's underlying member method code with example usage: obj.testGetattrCallback() without return types