Re: [sqlalchemy] Column.copy() omits ForeignKeys and Constraints

2019-01-10 Thread Martin Haass
Thu, Jan 10, 2019 at 8:18 AM Martin Haass > wrote: > > > > Hi, > > is it a bug or a feature? > > > > > https://github.com/sqlalchemy/sqlalchemy/blob/master/lib/sqlalchemy/sql/schema.py:1292 > > ff. > > in the constructor of class column the fo

[sqlalchemy] Column.copy() omits ForeignKeys and Constraints

2019-01-10 Thread Martin Haass
Hi, is it a bug or a feature? https://github.com/sqlalchemy/sqlalchemy/blob/master/lib/sqlalchemy/sql/schema.py:1292 ff. in the constructor of class column the foreign_keys and constraints are explicitly initialized to set() whereas the other properties are popped from kwargs This kind of con