docstr: Initialize client for a remote runner instance. To be used within API server instance.
docstr_tok: ["Initialize","client","for","a","remote","runner","instance",".","To","be","used","within","API","server","instance","."]
code: def init_client(
      self,
      handle_class: type[RunnerHandle] | None = None,
      *args: t.Any,
      **kwargs: t.Any,
  ):
      """
      Initialize client for a remote runner instance. To be used within API server instance.
      """
  
imports: from __future__ import annotations
  import logging
  import typing
  from abc import ABC
  from abc import abstractmethod
  import attr
  from simple_di import Provide
  from simple_di import inject
  from ...exceptions import StateException
  from ..configuration.containers import BentoMLContainer
  from ..models.model import Model
  from ..tag import validate_tag_str
  from ..utils import first_not_none
  from .runnable import Runnable
  from .runner_handle import DummyRunnerHandle
  from .runner_handle import RunnerHandle
  from .strategy import DefaultStrategy
  from .strategy import Strategy
label_desc: Use image node_id 2 for calling the AbstractRunner obj's underlying member method code with example usage: obj.init_client(handle_class) without return types