code: def predict(
      self,
      model,
      frame,
      predictions_frame=None,
      timeoutSecs=60,
      **kwargs,
  ):
      assert model is not None, 'FAIL: "model" parameter is null'
      assert frame is not None, 'FAIL: "frame" parameter is null'
  
      models = self.models(key=model, timeoutSecs=timeoutSecs)
      # print("models (key={0}): ".format(model))
      # pprint.PrettyPrinter(indent=4).pprint(models)
      assert models is not None, "FAIL: /Models REST call failed"
      assert (
          models["models"][0]["model_id"]["name"] == model
      ), "FAIL: /Models/{0} returned Model {1} rather than Model {2}".format(
          model, models["models"][0]["model_id"]["name"], model
      )
  
      # TODO: test this assert, I don't think this is working. . .
      frames = self.frames(key=frame)
      assert (
          frames is not None
      ), "FAIL: /Frames/{0} REST call failed".format(frame)
      assert (
          frames["frames"][0]["frame_id"]["name"] == frame
      ), "FAIL: /Frames/{0} returned Frame {1} rather than Frame {2}".format(
          frame, frames["frames"][0]["frame_id"]["name"], frame
      )
  
      postData = {"predictions_frame": predictions_frame}
  
      result = self.__do_json_request(
          "/3/Predictions/models/" + model + "/frames/" + frame,
          cmd="post",
          postData=postData,
          timeout=timeoutSecs,
      )
      return result
  
imports: import sys, os, getpass, logging, time, inspect, requests, json, pprint
  import h2o_test_utils
  from h2o_test_utils import log, log_rest
  import h2o_print
label_desc: Use image node_id 28 for calling the H2O obj's underlying member method code with example usage: obj.predict(model, frame, predictions_frame, timeoutSecs) and returns: result