code: def method(
      meth: t.Callable[t.Concatenate[T, P], R],
      *,
      batchable: bool = False,
      batch_dim: tuple[int, int] | int = 0,
      input_spec: AnyType | tuple[AnyType, ...] | None = None,
      output_spec: AnyType | None = None,
  ) -> RunnableMethod[T, P, R]:
      ...
  
imports: from __future__ import annotations
  import inspect
  import logging
  import typing
  from typing import TYPE_CHECKING
  from typing import overload
  import attr
  from ...exceptions import BentoMLException
  from ..types import LazyType
label_desc: Use image node_id 4 for calling the Runnable obj's underlying member method code with example usage: obj.method(meth) without return types