sorry, here one for the init part: set_as_attributes() in
http://dbcook.svn.sourceforge.net/viewvc/dbcook/trunk/tests/util/struct.py?revision=6&view=markup
or much simpler, setattr_kargs() in
http://dbcook.svn.sourceforge.net/viewvc/dbcook/trunk/dbcook/util/attr.py?revision=288&view=markup

On Saturday 21 June 2008 18:38:05 Werner F. Bruhin wrote:
> I looked at the declarative stuff and I am thinking of switching
> over to it, but it still has the "problem" that each column name
> has to be typed five times (including the init and repr method
> stuff).  O.K. this is only in the model, done once but still it
> opens things up for errors.
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to