]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
doc and changelog fixes
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 31 Mar 2023 18:03:54 +0000 (14:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 31 Mar 2023 18:03:54 +0000 (14:03 -0400)
Change-Id: I611684872ea34d05cc5d81ade0813676df00e03f

doc/build/changelog/changelog_14.rst
doc/build/changelog/unreleased_20/9543.rst [deleted file]
doc/build/changelog/unreleased_20/9544.rst [new file with mode: 0644]
doc/build/errors.rst

index 1922214a45679acadc7c3e6d61e1be5ad1be13f5..1e80c684c56abcf660534ed3fca666b2e3acf2a0 100644 (file)
@@ -28,7 +28,7 @@ This document details individual issue-level changes made throughout
 
         Fixed bug / regression where using :func:`.bindparam()` with the same name
         as a column in the :meth:`.Update.values` method of :class:`.Update`, as
-        well as the :meth:`.Insert.values` method of :class:`.Insert` in 2.0 only,
+        well as the :meth:`_dml.Insert.values` method of :class:`_dml.Insert` in 2.0 only,
         would in some cases silently fail to honor the SQL expression in which the
         parameter were presented, replacing the expression with a new parameter of
         the same name and discarding any other elements of the SQL expression, such
diff --git a/doc/build/changelog/unreleased_20/9543.rst b/doc/build/changelog/unreleased_20/9543.rst
deleted file mode 100644 (file)
index 593507c..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-.. change::
-    :tags: bug, mysql
-    :tickets: 9544
-
-    Fixed issue where string datatypes such as :class:`.CHAR`,
-    :class:`.VARCHAR`, :class:`.TEXT`, as well as binary :class:`.BLOB`, could
-    not be produced with an explicit length of zero, which has special meaning
-    for MySQL. Pull request courtesy J. Nick Koston.
diff --git a/doc/build/changelog/unreleased_20/9544.rst b/doc/build/changelog/unreleased_20/9544.rst
new file mode 100644 (file)
index 0000000..7aae71a
--- /dev/null
@@ -0,0 +1,9 @@
+.. change::
+    :tags: bug, mysql
+    :tickets: 9544
+
+    Fixed issue where string datatypes such as :class:`_sqltypes.CHAR`,
+    :class:`_sqltypes.VARCHAR`, :class:`_sqltypes.TEXT`, as well as binary
+    :class:`_sqltypes.BLOB`, could not be produced with an explicit length of
+    zero, which has special meaning for MySQL. Pull request courtesy J. Nick
+    Koston.
index 4c8cb53d734be28fd929a712e0f9b61786890435..aa28ea9097c4360f100a8c10473951522977a2fe 100644 (file)
@@ -1450,25 +1450,25 @@ Python dataclasses error encountered when creating dataclass for <classname>
 
 When using the :class:`_orm.MappedAsDataclass` mixin class or
 :meth:`_orm.registry.mapped_as_dataclass` decorator, SQLAlchemy makes use
-of the actual `Python dataclasses <dataclasses>`_ module that's in the Python standard library
+of the actual `Python dataclasses <dataclasses_>`_ module that's in the Python standard library
 in order to apply dataclass behaviors to the target class.   This API has
 its own error scenarios, most of which involve the construction of an
 ``__init__()`` method on the user defined class; the order of attributes
-declared on the class, as well as `on superclasses <dc_superclass>`_, determines
+declared on the class, as well as `on superclasses <dc_superclass_>`_, determines
 how the ``__init__()`` method will be constructed and there are specific
 rules in how the attributes are organized as well as how they should make
 use of parameters such as ``init=False``, ``kw_only=True``, etc.   **SQLAlchemy
 does not control or implement these rules**.  Therefore, for errors of this nature,
-consult the `Python dataclasses <dataclasses>`_ documentation, with special
-attention to the rules applied to `inheritance <_dc_superclass>`_.
+consult the `Python dataclasses <dataclasses_>`_ documentation, with special
+attention to the rules applied to `inheritance <dc_superclass_>`_.
 
 .. seealso::
 
   :ref:`orm_declarative_native_dataclasses` - SQLAlchemy dataclasses documentation
 
-  `Python dataclasses <dataclasses>`_ - on the python.org website
+  `Python dataclasses <dataclasses_>`_ - on the python.org website
 
-  `inheritance <_dc_superclass>`_ - on the python.org website
+  `inheritance <dc_superclass_>`_ - on the python.org website
 
 .. _dataclasses: https://docs.python.org/3/library/dataclasses.html