code: def _materialize_then_call(module, method_name):
      def wrapped(*args, **kwargs):
          return getattr(module.target, method_name)(*args, **kwargs)
  
      return wrapped
  
file_path: sonnet/sonnet/src/deferred.py
imports: from sonnet.src import base
label_desc: Use image node_id 1 for calling a global function with example usage: _materialize_then_call(module, method_name) and returns: wrapped, getattr