(self)
| 475 | return "StaticPool" |
| 476 | |
| 477 | def dispose(self) -> None: |
| 478 | if ( |
| 479 | "connection" in self.__dict__ |
| 480 | and self.connection.dbapi_connection is not None |
| 481 | ): |
| 482 | self.connection.close() |
| 483 | del self.__dict__["connection"] |
| 484 | |
| 485 | def recreate(self) -> StaticPool: |
| 486 | self.logger.info("Pool recreating") |