Glossary

10. A

`pool_pre_ping=True` runs a lightweight "SELECT 1" test query before giving a connection to your code. If the connection has been dropped (cloud databases often drop idle connections), SQLAlchemy reconnects automatically rather than returning a broken connection.

Learn More

Related Terms