[docs]@dataclassclassPooledConnectionManager(ConnectionManager):"""Pools database connections. """delegate:ConnectionManager=field()"""The delegate manager that controls the lifecycle of pooled connections. """size:int=field(default=1)"""The size of the pool."""def__post_init__(self):super().__post_init__()self._pool:List[Any]=[]@propertydefis_empty(self)->bool:returnlen(self)==0@propertydefis_full(self)->bool:returnlen(self)>=self.size