And, why can I add 'default' ---------- def Column0(*a, **k): return Column(nullable=False, default='', *a, **k) ---------- it shows the next error:
TypeError: _FigureVisitName object got multiple values for keyword argument 'default' On Jul 6, 7:53 pm, [EMAIL PROTECTED] wrote: > u can workaround by > def Column0( *a,**k): return Column( nullable=False, *a,**k) > and use Column0(...) instead of Column... > > On Sunday 06 July 2008 21:53:52 Kless wrote: > > > Is possible create the fields with nullable=False by default? > > > It's heavy to have to add this to each field. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---