code: def __init__(self, value=1):
      self.value = value
      self.queue: Deque[Tuple[asyncio.Event, int]] = collections.deque()
  
file_path: hail/batch/batch/semaphore.py
imports: import asyncio
  import collections
  import logging
  from typing import Deque, Tuple
label_desc: Use image node_id 1 to create a new FIFOWeightedSemaphore object  with example: obj = FIFOWeightedSemaphore(value)