]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Update cookbook.rst references to #753 791/head
authorAndrew Fitzgerald <131809+fitzoh@users.noreply.github.com>
Sat, 6 Feb 2021 02:45:20 +0000 (21:45 -0500)
committerGitHub <noreply@github.com>
Sat, 6 Feb 2021 02:45:20 +0000 (21:45 -0500)
A fix for #753 was merged in November 2020 and released in 1.5.0 in January 2021.
This updates the references to #753 in cookbook.rst to note that a fix for #753 has been released.

docs/build/cookbook.rst

index 1bfba30db312aea864e769f363100aa1a66060ba..2f409d9183e55b7d0c2b2beb531ebf41bd95a4cb 100644 (file)
@@ -1315,7 +1315,7 @@ follows::
                 elem.table_name, schema=elem.schema
             ) as batch_ops:
                 for table_elem in elem.ops:
-                    # work around Alembic issue #753
+                    # work around Alembic issue #753 (fixed in 1.5.0)
                     if hasattr(table_elem, "column"):
                         table_elem.column = table_elem.column.copy()
                     batch_ops.invoke(table_elem)
@@ -1323,7 +1323,7 @@ follows::
         elif hasattr(elem, "ops"):
             stack.extend(elem.ops)
         else:
-            # work around Alembic issue #753
+            # work around Alembic issue #753 (fixed in 1.5.0)
             if hasattr(elem, "column"):
                 elem.column = elem.column.copy()
             operations.invoke(elem)
@@ -1396,7 +1396,7 @@ at :func:`.autogenerate.compare_metadata`::
                 elem.table_name, schema=elem.schema
             ) as batch_ops:
                 for table_elem in elem.ops:
-                    # work around Alembic issue #753
+                    # work around Alembic issue #753 (fixed in 1.5.0)
                     if hasattr(table_elem, "column"):
                         table_elem.column = table_elem.column.copy()
                     batch_ops.invoke(table_elem)
@@ -1404,7 +1404,7 @@ at :func:`.autogenerate.compare_metadata`::
         elif hasattr(elem, "ops"):
             stack.extend(elem.ops)
         else:
-            # work around Alembic issue #753
+            # work around Alembic issue #753 (fixed in 1.5.0)
             if hasattr(elem, "column"):
                 elem.column = elem.column.copy()
             operations.invoke(elem)