From: Federico Caselli Date: Thu, 13 Feb 2025 22:17:12 +0000 (+0100) Subject: minor docs fixes X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13677447a3185f68f613173a23110eade050d6e8;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git minor docs fixes Change-Id: I7379bc6904daac711063734d2f43aa5f6e734a0f --- diff --git a/doc/build/changelog/unreleased_21/12293.rst b/doc/build/changelog/unreleased_21/12293.rst index c8782bb82a..321a0761da 100644 --- a/doc/build/changelog/unreleased_21/12293.rst +++ b/doc/build/changelog/unreleased_21/12293.rst @@ -1,5 +1,5 @@ .. change:: - :tags: typing + :tags: typing, orm :tickets: 12293 Removed the deprecated mypy plugin. diff --git a/doc/build/core/pooling.rst b/doc/build/core/pooling.rst index 526782b055..1a4865ba2b 100644 --- a/doc/build/core/pooling.rst +++ b/doc/build/core/pooling.rst @@ -558,7 +558,7 @@ close these connections out. The difference between FIFO and LIFO is basically whether or not its desirable for the pool to keep a full set of connections ready to go even during idle periods:: - engine = create_engine("postgreql://", pool_use_lifo=True, pool_pre_ping=True) + engine = create_engine("postgresql://", pool_use_lifo=True, pool_pre_ping=True) Above, we also make use of the :paramref:`_sa.create_engine.pool_pre_ping` flag so that connections which are closed from the server side are gracefully diff --git a/test/dialect/postgresql/test_query.py b/test/dialect/postgresql/test_query.py index 9198fb96ae..f8bb9dbc79 100644 --- a/test/dialect/postgresql/test_query.py +++ b/test/dialect/postgresql/test_query.py @@ -1242,7 +1242,7 @@ class TupleTest(fixtures.TestBase): class ExtractTest(fixtures.TablesTest): """The rationale behind this test is that for many years we've had a system of embedding type casts into the expressions rendered by visit_extract() - on the postgreql platform. The reason for this cast is not clear. + on the postgresql platform. The reason for this cast is not clear. So here we try to produce a wide range of cases to ensure that these casts are not needed; see [ticket:2740].