class_docstr: An iterator to get a PredictionRequest.
  
  :param _stream: InferStream2
class_docstr_tok: ["An","iterator","to","get","a","PredictionRequest",".",":","param","_stream",":","InferStream2"]
code: def __next__(self):
      request = self._stream.get_request()
      if request is None:
          raise StopIteration
  
      return request
  
imports: import argparse
  import queue
  import threading
  from functools import partial
  import grpc
  import inference_pb2
  import inference_pb2_grpc
  import management_pb2
  import management_pb2_grpc
label_desc: Use image node_id 3 for calling the RequestIterator obj's underlying member method code with example usage: obj.__next__() and returns: request