code: def run_method(
      self,
      __bentoml_method: RunnerMethod[t.Any, P, R],
      *args: P.args,
      **kwargs: P.kwargs,
  ) -> R | tuple[R, ...]:
      import anyio
  
      return t.cast(
          "R | tuple[R, ...]",
          anyio.from_thread.run(
              functools.partial(self.async_run_method, **kwargs),
              __bentoml_method,
              *args,
          ),
      )
  
file_path: BentoML/src/bentoml/_internal/ray/runner_handle.py
imports: from __future__ import annotations
  import functools
  import typing
  from ...exceptions import MissingDependencyException
  from ..runner import Runner
  from ..runner.runner import RunnerMethod
  from ..runner.runner_handle import RunnerHandle
label_desc: Use image node_id 2 for calling the RayRunnerHandle obj's underlying member method code with example usage: obj.run_method(__bentoml_method) and returns: t