code: def _wrap_as_composite_func(self, other, func):
      def _wrapper(name, **kwargs):
          return func(self._func(name, **kwargs), other)
  
      return HyperoptProxy(_wrapper, **self._kwargs)
  
imports: import typing
  import numbers
  import hyperopt
  import hyperopt.pyll.base
label_desc: Use image node_id 1 for calling a global function with example usage: _wrap_as_composite_func(other, func) and returns: HyperoptProxy, func