[Sqlalchemy-tickets] [sqlalchemy] #2716: table.tometadata(metadata) should copy column.info diction
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2013-04-25 20:11:18
|
#2716: table.tometadata(metadata) should copy column.info dictionary instead of referencing same dictionary -----------------------+----------------------------------------- Reporter: kentbower | Owner: zzzeek Type: defect | Status: new Priority: low | Milestone: Component: orm | Severity: no triage selected yet Keywords: | Progress State: awaiting triage -----------------------+----------------------------------------- After executing `table.tometadata(metadata)`, the new table's new column's `info` dictionaries are references to the original columns' dictionaries instead of a copy of the dictionary. If this is by design for some reason, no hard feelings, close ticket, but seems bad design to me to have the new instances of the columns referencing the original columns' `info` dictionaries. -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2716> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |