Skip to content

Commit

Permalink
Update cookbook.rst references to sqlalchemy#753
Browse files Browse the repository at this point in the history
A fix for sqlalchemy#753 was merged in November 2020 and released in 1.5.0 in January 2021.
This updates the references to sqlalchemy#753 in cookbook.rst to note that a fix for sqlalchemy#753 has been released.
  • Loading branch information
fitzoh authored Feb 6, 2021
1 parent ea0b27d commit a403097
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/build/cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1315,15 +1315,15 @@ 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)

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)
Expand Down Expand Up @@ -1396,15 +1396,15 @@ 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)

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)
Expand Down

0 comments on commit a403097

Please sign in to comment.