class_docstr: Mock client
class_docstr_tok: ["Mock","client"]
code: def infer(
      self, model_name: str, inputs: List[MockInferInput]
  ) -> "InferResult":
      if model_name not in self._models:
          return None
      request = pb_utils.InferenceRequest(
          [pb_utils.Tensor(item.name(), item.data()) for item in inputs]
      )
  
      responses = self._models[model_name].execute([request])
      assert len(responses) == 1
      return MockInferResult(responses[0])
  
file_path: towhee/towhee/serve/triton/bls/mock/mock_triton_client.py
imports: from typing import List, Dict
  from towhee.serve.triton.bls.python_backend_wrapper import pb_utils
label_desc: Use image node_id 2 for calling the MockTritonClient obj's underlying member method code with example usage: obj.infer(model_name, inputs) and returns: MockInferResult, None