class_docstr: Warps a NodeProviderV1 to a NodeProvider.
code: def __init__(
      self,
      provider: NodeProviderV1,
      node_launcher: BaseNodeLauncher,
      autoscaling_config: AutoscalingConfig,
  ) -> None:
      super().__init__()
      self._provider = provider
      self._node_launcher = node_launcher
      self._config = autoscaling_config
  
imports: import logging
  from abc import ABCMeta, abstractmethod
  from typing import Dict, List, Set
  from ray.autoscaler._private.node_launcher import BaseNodeLauncher
  from ray.autoscaler.node_provider import NodeProvider
  from ray.autoscaler.tags import TAG_RAY_USER_NODE_TYPE
  from ray.autoscaler.v2.instance_manager.config import AutoscalingConfig
  from ray.core.generated.instance_manager_pb2 import Instance
label_desc: Use image node_id 1 to create a new NodeProviderAdapter object from inherited base classes: NodeProvider with example: obj = NodeProviderAdapter(provider, node_launcher, autoscaling_config)