]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- add new event PoolEvents.invalidate(). allows interception of invalidation
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 12 Jan 2014 22:34:20 +0000 (17:34 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 12 Jan 2014 22:34:20 +0000 (17:34 -0500)
commitc91fd822bc9816827d0aab4699e304ab49ed8280
tree291326b1bf9b1b489b9dac24632e668610d4504f
parent86c3855c9bafb52cb71df7e958196d27ca4dc578
- add new event PoolEvents.invalidate().  allows interception of invalidation
events including auto-invalidation, which is useful both for tests here as well as
detecting failure conditions within the "reset" or "close" cases.
- rename the argument for PoolEvents.reset() to dbapi_connection and connection_record
to be consistent with everything else.
- add new documentation sections on invalidation, including auto-invalidation
and the invalidation process within the pool.
- add _ConnectionFairy and _ConnectionRecord to the pool documentation.  Establish
docs for common _ConnectionFairy/_ConnectionRecord methods and accessors and
have PoolEvents docs refer to _ConnectionRecord,
since it is passed to all events.  Rename a few _ConnectionFairy methods that are actually
private to pool such as _checkout(), _checkin() and _checkout_existing(); there should not
be any external code calling these
doc/build/changelog/changelog_09.rst
doc/build/core/pooling.rst
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/events.py
lib/sqlalchemy/pool.py
test/engine/test_pool.py