code: def _lazy_initialize(self):
      self.environment_detector = EnvironmentDetector()
      detected_envs = self.environment_detector.detect()
      self.in_cloud_env = is_cloud_env(detected_envs)
  
      # NOTE: This is tested manually per release. Ignoring for coverage.
      if self.in_cloud_env == ENV_DETECTED.CLOUD:  # pragma: no cover
          _log.info("Detected cloud environment.")
          self.provider = InlineProvider(
              detected_envs=detected_envs, js_url=JS_URL
          )
      elif "docker-dev-mode" in detected_envs:
          _log.info("Operating in docker development mode.")
          self.provider = InlineProvider(detected_envs=detected_envs)
      elif self.in_cloud_env == ENV_DETECTED.BOTH_CLOUD_AND_NON_CLOUD:
          _log.info("Detected both cloud and non cloud environment.")
          # val = input("Type 'C' if you want to choose Cloud environment or 'NC' for Non Cloud Environment :")
          val = "C"
          if val == "C":
              self.provider = InlineProvider(
                  detected_envs=detected_envs, js_url=JS_URL
              )
          else:
              if self.app_runner:
                  self.provider = DashProvider(self.app_runner)
              else:
                  self.provider = DashProvider.from_address()
      else:  # ENV_DETECTED.NON_CLOUD
          _log.info("Detected non-cloud environment.")
          if self.app_runner:
              self.provider = DashProvider(self.app_runner)
          else:
              self.provider = DashProvider.from_address()
  
imports: from abc import ABC, abstractmethod
  import logging
  from ._environment import EnvironmentDetector, is_cloud_env, ENV_DETECTED
  from .._version import __version__
label_desc: Use image node_id 2 for calling the AutoVisualizeProvider obj's underlying member method code with example usage: obj._lazy_initialize() without return types