On Feb 14, 2011, at 5:22 AM, Tarek Ziadé wrote: > userid = Column(Integer(11), primary_key=True, nullable=False) > TypeError: __init__() takes exactly 1 argument (2 given) > > > The code: > http://hg.mozilla.org/services/server-storage/file/78762deede5d/syncstorage/storage/sqlmappers.py#l55
I didn't expect that anyone was passing arguments to types like Integer, the value you pass there is meaningless as the default Integer doesn't have any kind of length. I will restore the "catchall" constructor to the base type class with a deprecation warning. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.