]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
chore: remove repetitive words (#11134)
authoracceptacross <150119116+acceptacross@users.noreply.github.com>
Mon, 11 Mar 2024 21:01:42 +0000 (05:01 +0800)
committerGitHub <noreply@github.com>
Mon, 11 Mar 2024 21:01:42 +0000 (22:01 +0100)
Signed-off-by: acceptacross <csqcqs@gmail.com>
doc/build/changelog/changelog_14.rst
doc/build/changelog/changelog_20.rst
doc/build/orm/declarative_mixins.rst
doc/build/tutorial/data_select.rst
test/dialect/test_sqlite.py
test/orm/test_selectin_relations.py

index 55e671e18b87723a9a93b1a3f76fa56da6d7bb1f..1d6a3f775aef0bca55dbd5aec5e2f488cf15a656 100644 (file)
@@ -976,7 +976,7 @@ This document details individual issue-level changes made throughout
 
         Fixed regression where using ORM update() with synchronize_session='fetch'
         would fail due to the use of evaluators that are now used to determine the
-        in-Python value for expressions in the the SET clause when refreshing
+        in-Python value for expressions in the SET clause when refreshing
         objects; if the evaluators make use of math operators against non-numeric
         values such as PostgreSQL JSONB, the non-evaluable condition would fail to
         be detected correctly. The evaluator now limits the use of math mutation
@@ -2810,7 +2810,7 @@ This document details individual issue-level changes made throughout
         :class:`_result.Result` class and implemented it for the filtered result
         implementations that are used by the ORM, so that it is possible to call
         the :meth:`_engine.CursorResult.close` method on the underlying
-        :class:`_engine.CursorResult` when the the ``yield_per`` execution option
+        :class:`_engine.CursorResult` when the ``yield_per`` execution option
         is in use to close a server side cursor before remaining ORM results have
         been fetched. This was again already available for Core result sets but the
         change makes it available for 2.0 style ORM results as well.
@@ -9141,7 +9141,7 @@ This document details individual issue-level changes made throughout
         cascade operation actually takes place.   The new behavior can be
         established as always by setting the flag to ``False`` on a specific
         :func:`_orm.relationship`, or more generally can be set up across the board
-        by setting the the :paramref:`_orm.Session.future` flag to True.
+        by setting the :paramref:`_orm.Session.future` flag to True.
 
         .. seealso::
 
index 30b1f9579fed40787913a1127df854ff1d0d4391..8e3ee935b98c7e0a3867828aa1d250f0159b5f3c 100644 (file)
         Added an error message when a :func:`_orm.relationship` is mapped against
         an abstract container type, such as ``Mapped[Sequence[B]]``, without
         providing the :paramref:`_orm.relationship.container_class` parameter which
-        is necessary when the type is abstract. Previously the the abstract
+        is necessary when the type is abstract. Previously the abstract
         container would attempt to be instantiated at a later step and fail.
 
 
index 0ee8a952bb8af176ce6871bd02e26c6520a478b7..9f26207c07aaa1d5efcdd8ae4f1ffa24cd26cb75 100644 (file)
@@ -152,7 +152,7 @@ Augmenting the Base
 In addition to using a pure mixin, most of the techniques in this
 section can also be applied to the base class directly, for patterns that
 should apply to all classes derived from a particular base.  The example
-below illustrates some of the the previous section's example in terms of the
+below illustrates some of the previous section's example in terms of the
 ``Base`` class::
 
     from sqlalchemy import ForeignKey
index 42b484de8e470e1a2bf1a5c7ca3913dadb8cf7c9..aa77539b97b9664f804f910e4d454e8fe16adc0f 100644 (file)
@@ -447,7 +447,7 @@ explicitly::
     FROM user_account JOIN address ON user_account.id = address.user_id
 
 
-The other is the the :meth:`_sql.Select.join` method, which indicates only the
+The other is the :meth:`_sql.Select.join` method, which indicates only the
 right side of the JOIN, the left hand-side is inferred::
 
     >>> print(select(user_table.c.name, address_table.c.email_address).join(address_table))
index 6ef00e54675c8fafd42a4f652e9ad66ebe1185ad..1289cf9ba0d9331fd4cf809531126575fec62d82 100644 (file)
@@ -3450,7 +3450,7 @@ class OnConflictTest(AssertsCompiledSQL, fixtures.TablesTest):
         )
 
         # The last inserted primary key should be 2 here
-        # it is taking the result from the the exotic fixture
+        # it is taking the result from the exotic fixture
         eq_(result.inserted_primary_key, (2,))
 
         eq_(
index 93b3d8710ce97c47ccce9593ca26ef1be40f5ff8..d46362abdc891f3d14b0c7fc3deafcec8f01cfa0 100644 (file)
@@ -3340,7 +3340,7 @@ class M2OWDegradeTest(
                 "FROM a WHERE a.id IN (__[POSTCOMPILE_id_1]) ORDER BY a.id",
                 [{"id_1": [1, 3]}],
             ),
-            # in the very unlikely case that the the FK col on parent is
+            # in the very unlikely case that the FK col on parent is
             # deferred, we degrade to the JOIN version so that we don't need to
             # emit either for each parent object individually, or as a second
             # query for them.
@@ -3431,7 +3431,7 @@ class M2OWDegradeTest(
             CompiledSQL(
                 "SELECT a.id AS a_id, a.q AS a_q FROM a ORDER BY a.id", [{}]
             ),
-            # in the very unlikely case that the the FK col on parent is
+            # in the very unlikely case that the FK col on parent is
             # deferred, we degrade to the JOIN version so that we don't need to
             # emit either for each parent object individually, or as a second
             # query for them.