Called when a detached DBAPI connection is closed. The event is emitted before the close occurs. The close of a connection can fail; typically this is because the connection is already closed. If the close operation fails, the connection is discarded. :par
(self, dbapi_connection: DBAPIConnection)
| 361 | """ |
| 362 | |
| 363 | def close_detached(self, dbapi_connection: DBAPIConnection) -> None: |
| 364 | """Called when a detached DBAPI connection is closed. |
| 365 | |
| 366 | The event is emitted before the close occurs. |
| 367 | |
| 368 | The close of a connection can fail; typically this is because |
| 369 | the connection is already closed. If the close operation fails, |
| 370 | the connection is discarded. |
| 371 | |
| 372 | :param dbapi_connection: a DBAPI connection. |
| 373 | The :attr:`.ConnectionPoolEntry.dbapi_connection` attribute. |
| 374 | |
| 375 | """ |