

def manual_close(self):
    '\n        Close the underlying connection without returning it to the pool.\n        '
    conn = self.get_conn()
    self.close()
    if (not self._is_closed(self.conn_key(conn), conn)):
        self._close(conn, close_conn=True)

dataset/ETHPy150Open coleifer/peewee/playhouse/pool.py PooledDatabase.manual_close/original