(self, pool: Pool, timeout: Optional[float])
| 1045 | __slots__ = ('timeout', 'connection', 'done', 'pool') |
| 1046 | |
| 1047 | def __init__(self, pool: Pool, timeout: Optional[float]) -> None: |
| 1048 | self.pool = pool |
| 1049 | self.timeout = timeout |
| 1050 | self.connection = None |
| 1051 | self.done = False |
| 1052 | |
| 1053 | async def __aenter__(self): |
| 1054 | if self.connection is not None or self.done: |
nothing calls this directly
no outgoing calls
no test coverage detected