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