code: def sample_get_experiment(
      **kwargs: Any,
  ) -> bindings.v1GetExperimentResponse:
      """Get an experiment from a fixture and optionally override some fields.
  
      Load a sample experiment from a fixture.  It's assumed that generally a caller cares only that
      the response is well-formed. If instead the caller cares about any particular fields, they can
      override them by passing them as keyword arguments.
  
      Args:
          **kwargs: Fields to override in the experiment.
  
      Returns:
          A bindings.v1GetExperimentResponse object with the experiment. NOTE: The returned object
          is a bindings type, *not* a ExperimentReference.
      """
      with open(FIXTURES_DIR / "experiment.json") as f:
          resp = bindings.v1GetExperimentResponse.from_json(
              json.load(f)
          )
          for k, v in kwargs.items():
              setattr(resp.experiment, k, v)
          return resp
  
imports: import copy
  import json
  import pathlib
  from typing import Any, Callable, Dict, Iterable, Iterator, Optional, Tuple, TypeVar
  import requests
  from determined.common.api import bindings
label_desc: Use image node_id 1 for calling a global function with example usage: sample_get_experiment() and returns: resp