Return a DBAPI connection from the pool. The connection is instrumented such that when its ``close()`` method is called, the connection will be returned to the pool.
(self)
| 438 | raise NotImplementedError() |
| 439 | |
| 440 | def connect(self) -> PoolProxiedConnection: |
| 441 | """Return a DBAPI connection from the pool. |
| 442 | |
| 443 | The connection is instrumented such that when its |
| 444 | ``close()`` method is called, the connection will be returned to |
| 445 | the pool. |
| 446 | |
| 447 | """ |
| 448 | return _ConnectionFairy._checkout(self) |
| 449 | |
| 450 | def _return_conn(self, record: ConnectionPoolEntry) -> None: |
| 451 | """Given a _ConnectionRecord, return it to the :class:`_pool.Pool`. |