A synonym for :meth:`_asyncio.AsyncConnection.close`. The :meth:`_asyncio.AsyncConnection.aclose` name is specifically to support the Python standard library ``@contextlib.aclosing`` context manager function. .. versionadded:: 2.0.20
(self)
| 490 | await greenlet_spawn(self._proxied.close) |
| 491 | |
| 492 | async def aclose(self) -> None: |
| 493 | """A synonym for :meth:`_asyncio.AsyncConnection.close`. |
| 494 | |
| 495 | The :meth:`_asyncio.AsyncConnection.aclose` name is specifically |
| 496 | to support the Python standard library ``@contextlib.aclosing`` |
| 497 | context manager function. |
| 498 | |
| 499 | .. versionadded:: 2.0.20 |
| 500 | |
| 501 | """ |
| 502 | await self.close() |
| 503 | |
| 504 | async def exec_driver_sql( |
| 505 | self, |