code: def __init__(self, ws: "WeightedSemaphore", n: int):
      self._ws = ws
      self._n = n
  
file_path: hail/hail/python/hailtop/aiotools/weighted_semaphore.py
imports: from typing import Optional, Type
  from sortedcontainers import SortedKeyList
  from types import TracebackType
  import asyncio
label_desc: Use image node_id 1 to create a new _AcquireManager object  with example: obj = _AcquireManager(ws, n)