code: def _bind(lambda_fn: Callable, **closure_kwargs: Any) -> Callable:
      """Create a closure around a lambda function by binding `closure_kwargs` to the function."""
  
      def closure(*args: Any, **kwargs: Any) -> Any:
          _k = {}
          _k.update(kwargs)
          _k.update(closure_kwargs)
          return lambda_fn(*args, **_k)
  
      return closure
  
file_path: wandb/wandb/sdk/integration_utils/data_logging.py
imports: import sys
  from collections.abc import Sequence
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Union
  import wandb
label_desc: Use image node_id 3 for calling a global function with example usage: _bind(lambda_fn) and returns: closure, lambda_fn