code: def env_lambda_cb(lambda_cbs):
      """Return an `Environment` using `lambda_cbs` as `experiment_callbacks`
  
      Parameters
      ----------
      lambda_cbs: `LambdaCallback`, list of `LambdaCallback`, or None
          LambdaCallback values passed to the `Environment`'s `experiment_callbacks` kwarg
      """
      return Environment(
          train_dataset=get_diabetes_data(target="target"),
          results_path=assets_dir,
          metrics=["median_absolute_error"],
          cv_type="KFold",
          cv_params=dict(n_splits=3, random_state=1),
          experiment_callbacks=lambda_cbs,
      )
  
file_path: hyperparameter_hunter/tests/integration_tests/test_lambda_callback.py
imports: from hyperparameter_hunter import Environment, CVExperiment, lambda_callback
  from hyperparameter_hunter.callbacks.bases import BaseCallback
  from hyperparameter_hunter.callbacks.recipes import confusion_matrix_oof
  from hyperparameter_hunter.utils.learning_utils import get_diabetes_data
  from copy import deepcopy
  import pytest
  from sklearn.ensemble import AdaBoostRegressor
label_desc: Use image node_id 1 for calling a global function with example usage: env_lambda_cb(lambda_cbs) and returns: Environment