Also (i feel a bit stupid at talking to myself, but I guess I should be
quicker at thinking easy solutions. I'll improve myself. ): if this is
really a problem and would require a lot to fix, don't lose your sleep.
There's a real quick workaround I hadn't thought about, it's enough to add
this in the mapped class' __new__
def __new__(cls):
new = super(MyClass, cls).__new__(cls)
new.__init__()
return new
And everything will just work fine. If you think that's the way to go, drop
me an email and I'll write the doc+faq patch.
--
Alan Franzoni <[EMAIL PROTECTED]>
-
Togli .xyz dalla mia email per contattarmi.
Remove .xyz from my address in order to contact me.
-
GPG Key Fingerprint (Key ID = FE068F3E):
5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---