(self)
| 1177 | self.done = False |
| 1178 | |
| 1179 | async def __aenter__(self): |
| 1180 | if self.connection is not None or self.done: |
| 1181 | raise exceptions.InterfaceError('a connection is already acquired') |
| 1182 | self.connection = await self.pool._acquire(self.timeout) |
| 1183 | return self.connection |
| 1184 | |
| 1185 | async def __aexit__( |
| 1186 | self, |