code: def __init__(self, zone, weight):
      self.zone = zone
      self.weight = weight
  
imports: import collections
  import logging
  import random
  from typing import Any, Dict, List, Set, Tuple
  from hailtop.aiocloud import aiogoogle
  from hailtop.utils import url_basename
  from ....driver.exceptions import RegionsNotSupportedError
  from ....driver.location import CloudLocationMonitor
  from ....utils import WindowFractionCounter
label_desc: Use image node_id 1 to create a new ZoneWeight object  with example: obj = ZoneWeight(zone, weight)