code: def __getattr__(self, item: str) -> t.Any:
      from ._internal.runner.runner_handle.remote import (
          TritonRunnerHandle,
      )
  
      if isinstance(self._runner_handle, TritonRunnerHandle):
          if item in self._runner_handle.client_methods:
              # NOTE: auto wrap triton methods to its respective clients
              if self.tritonserver_type == "grpc":
                  return _handle_triton_exception(
                      getattr(self._runner_handle.grpc_client, item)
                  )
              else:
                  return _handle_triton_exception(
                      getattr(self._runner_handle.http_client, item)
                  )
          else:
              # if given item is not a client method, then we assume it is a model name.
              # Hence, we will return a RunnerMethod that will be responsible for this model handle.
              RT = (
                  _tritonhttpclient.InferResult
                  if self.tritonserver_type == "http"
                  else _tritongrpcclient.InferResult
              )
              return _RunnerMethod[t.Any, _P, RT](
                  runner=self,
                  name=item,
                  config=_RunnableMethodConfig(
                      batchable=True, batch_dim=(0, 0)
                  ),
                  max_batch_size=0,
                  max_latency_ms=10000,
              )
  
      return super().__getattribute__(item)
  
imports: from __future__ import annotations
  import logging
  import typing
  from functools import cached_property
  import attr
  from simple_di import Provide
  from simple_di import inject
  from ._internal.configuration import get_debug_mode
  from ._internal.configuration.containers import BentoMLContainer
  from ._internal.runner.runnable import RunnableMethodConfig
  from ._internal.runner.runner import AbstractRunner
  from ._internal.runner.runner import RunnerMethod
  from ._internal.runner.runner import object_setattr
  from ._internal.runner.runner_handle import DummyRunnerHandle
  from ._internal.runner.runner_handle.remote import TRITON_EXC_MSG
  from ._internal.runner.runner_handle.remote import handle_triton_exception
  from ._internal.utils import LazyLoader
  from .exceptions import StateException
label_desc: Use image node_id 10 for calling the _TritonRunner obj's underlying member method code with example usage: obj.__getattr__(item) and returns: super, _RunnerMethod, _handle_triton_exception, _handle_triton_exception