I'm having issues trying to add an event listener to a mixin class
(which doesn't subclass Base) and wondering what kind of work-around
there might be.  It's probably easier to explain with an example
( http://paste.pocoo.org/show/487334/ )

Basically if I call event.listen(), and pass as a target an attribute
of a class that doesn't inherit from Base, I get an error
"AttributeError: 'DDLEventsDispatch' object has no attribute 'set' ".
Is there a way around this?  Or a good way to automatically add a
listener for every subclass of my Mixin?

-- 
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 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to