Found enumeration implementations: http://www.sqlalchemy.org/trac/wiki/UsageRecipes/Enum http://cheeseshop.python.org/pypi/enum/0.4.3
On 29 loka, 09:04, mmstud <[EMAIL PROTECTED]> wrote: > Thats handy. Where could i get the utils module you're using for Enum > datatype? > > On 28 loka, 23:52, "Arnar Birgisson" <[EMAIL PROTECTED]> wrote: > > > On 10/28/07, mmstud <[EMAIL PROTECTED]> wrote: > > > > Thanks there were some good ideas to try. Btw. what does the first def > > > constructor(fun)? > > > It is a decorator I use on mapped classes constructors. It allows me > > to give keyword arguments to constructors with initial values for any > > field in class.c (i.e. any mapped columns). > > > cheers, > > Arnar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---