Hello,
suppose I have the following definition :
class Color(ActiveMapper):
class mapping:
__table__ = "color"
id = column(Integer, primary_key=True)
color = column(Unicode(32), unique=True)
my problem is that if I do a typo when trying to create or modify a
"color" like
r = Color(colore='red') # notice the e at colore...
or r.qqqq = 32
I get no error, so debugging is not easy at all !
Is there a way to get some messages when using wrong attributes ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---