]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The :meth:`.Table.tometadata` method now produces copies of
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 19 Oct 2013 00:01:45 +0000 (20:01 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 19 Oct 2013 00:01:45 +0000 (20:01 -0400)
commit73669c7284548d0e5ab2147f66174c301e732650
treed3d201b4528d41f661a39430801785b228c10760
parent71e043aaae1ff9cbf0597846b4cfdf645a46ebdf
- The :meth:`.Table.tometadata` method now produces copies of
all :attr:`.SchemaItem.info` dictionaries from all :class:`.SchemaItem`
objects within the structure including columns, constraints,
foreign keys, etc.   As these dictionaries
are copies, they are independent of the original dictionary.
Previously, only the ``.info`` dictionary of :class:`.Column` was transferred
within this operation, and it was only linked in place, not copied.
[ticket:2716]
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/sql/schema.py
test/sql/test_metadata.py