hunk.code_window:     try:
           if not horizon:
               horizon = (base_env.get_unwrapped()[0].spec.max_episode_steps)
       except Exception:
           logger.debug("no episode horizon specified, assuming inf")
       if not horizon:
           horizon = float("inf")
       # Pool of batch builders, which can be shared across episodes to pack
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:         logger.debug("No episode horizon specified, assuming inf.")
  
hunk.file_path: rllib/evaluation/sampler.py
hunk.type: replace
file: package org.ray.api;
  
  import org.ray.api.id.ObjectId;
  
  /**
   * Represents an object in the object store.
   * @param <T> The object type.
   */
  public interface RayObject<T> {
  
    /**
     * Fetch the object from the object store, this method will block
     * until the object is locally available.
     */
    T get();
  
    /**
     * Get the object id.
     */
    ObjectId getId();
  
  }
  
  