code: def contextmanager(f):
      """
      Wrapper for contextlib.contextmanager that tracks which methods of
      PipelineHooks are contextmanagers in CONTEXT_MANAGER_METHODS.
      """
      PIPELINE_HOOKS_CONTEXT_MANAGERS.add(f.__name__)
      return _contextmanager(f)
  
file_path: zipline/zipline/pipeline/hooks/iface.py
imports: from zipline.utils.compat import contextmanager
  from interface import Interface
label_desc: Use image node_id 1 for calling a global function with example usage: contextmanager(f) and returns: _contextmanager