(self, pool: Pool, timeout: Optional[float])
| 1171 | __slots__ = ('timeout', 'connection', 'done', 'pool') |
| 1172 | |
| 1173 | def __init__(self, pool: Pool, timeout: Optional[float]) -> None: |
| 1174 | self.pool = pool |
| 1175 | self.timeout = timeout |
| 1176 | self.connection = None |
| 1177 | self.done = False |
| 1178 | |
| 1179 | async def __aenter__(self): |
| 1180 | if self.connection is not None or self.done: |
nothing calls this directly
no outgoing calls
no test coverage detected