code: def __str__(self):
      return f"{self.__class__.__name__}({str(self.input)} → {str(self.output)})"
  
file_path: BentoML/src/bentoml/_internal/service/inference_api.py
imports: from __future__ import annotations
  import inspect
  import re
  import typing
  import yaml
  from ...exceptions import InvalidArgument
  from ..context import ServiceContext
  from ..io_descriptors import IODescriptor
  from ..io_descriptors.base import IOType
  from ..types import is_compatible_type
label_desc: Use image node_id 2 for calling the InferenceAPI obj's underlying member method code with example usage: obj.__str__() and returns: self, str, str, str, str, str