code: def __init__(
      self, node_id, tags, node_config, node_type, unique_ips=False
  ):
      self.node_id = str(node_id)
      self.state = "pending"
      self.tags = tags
      self.external_ip = "1.2.3.4"
      self.internal_ip = "172.0.0.{}".format(self.node_id)
      if unique_ips:
          self.external_ip = f"1.2.3.{self.node_id}"
  
      self.node_config = node_config
      self.node_type = node_type
      self.created_in_main_thread = (
          threading.current_thread() is threading.main_thread()
      )
  
imports: import re
  import threading
  from subprocess import CalledProcessError
  from typing import Callable, Dict, List, Optional
  from ray.autoscaler.node_provider import NodeProvider
label_desc: Use image node_id 1 to create a new MockNode object  with example: obj = MockNode(node_id, tags, node_config, node_type, unique_ips)