class_docstr: Pipeline Model
class_docstr_tok: ["Pipeline","Model"]
code: def _get_result(self, q):
      ret = []
      while True:
          data = q.get()
          if data is None:
              break
          ret.append(data)
      return ret
  
file_path: towhee/towhee/serve/triton/bls/pipeline_model.py
imports: import logging
  from pathlib import Path
  import numpy
  import dill
  from towhee.serve.triton.bls.python_backend_wrapper import pb_utils
  from towhee.runtime.runtime_pipeline import RuntimePipeline
  from towhee.utils.serializer import to_json, from_json
label_desc: Use image node_id 4 for calling the TritonPythonModel obj's underlying member method code with example usage: obj._get_result(q) and returns: ret