code: def init_local(self, quiet: bool = False) -> None:
      if not quiet:
          logger.warning(
              "'Runner.init_local' is for debugging and testing only. Make sure to remove it before deploying to production."
          )
  
      from .runner_handle.local import LocalRunnerRef
  
      try:
          self._set_handle(LocalRunnerRef)
      except Exception as e:
          import traceback
  
          logger.error(
              "An exception occurred while instantiating runner '%s', see details below:",
              self.name,
          )
          logger.error(traceback.format_exc())
  
          raise e
  
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 3 for calling the Runner obj's underlying member method code with example usage: obj.init_local(quiet) without return types