]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
pep-484 for pool
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 16 Feb 2022 04:43:51 +0000 (23:43 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 17 Feb 2022 19:45:04 +0000 (14:45 -0500)
commit5157e0aa542f390242dd7a6d27a6ce1663230e46
tree113f0e5a83e8229c7d0cb9e9c47387e1d703cb29
parent20213fd1f27fea51015d753bf94c6f40674ae86f
pep-484 for pool

also extends into some areas of utils, events and others
as needed.

Formalizes a public hierarchy for pool API,
with ManagesConnection -> PoolProxiedConnection /
ConnectionPoolEntry for connectionfairy / connectionrecord,
which are now what's exposed in the event API and other
APIs.  all public API docs moved to the new objects.

Corrects the mypy plugin's check for sqlalchemy-stubs
not being insatlled, which has to be imported using the
dash in the name to be effective.

Change-Id: I16c2cb43b2e840d28e70a015f370a768e70f3581
25 files changed:
doc/build/core/pooling.rst
doc/build/faq/connections.rst
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/create.py
lib/sqlalchemy/engine/interfaces.py
lib/sqlalchemy/event/__init__.py
lib/sqlalchemy/event/attr.py
lib/sqlalchemy/event/base.py
lib/sqlalchemy/event/registry.py
lib/sqlalchemy/exc.py
lib/sqlalchemy/ext/mypy/plugin.py
lib/sqlalchemy/log.py
lib/sqlalchemy/orm/base.py
lib/sqlalchemy/pool/__init__.py
lib/sqlalchemy/pool/base.py
lib/sqlalchemy/pool/events.py
lib/sqlalchemy/pool/impl.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/_concurrency_py3k.py
lib/sqlalchemy/util/deprecations.py
lib/sqlalchemy/util/langhelpers.py
lib/sqlalchemy/util/queue.py
lib/sqlalchemy/util/typing.py
pyproject.toml
test/engine/test_pool.py