code: def delegate(delegated_fn):
      return lambda fn: Delegator(delegated_fn)
  
file_path: mlflow/tests/utils/test_gorilla.py
imports: import pytest
  from mlflow.utils import gorilla
label_desc: Use image node_id 1 for calling a global function with example usage: delegate(delegated_fn) and returns: function