I am trying to move from 0.5beta4 to 0.5.2
The attribute events are giving me a problem
The code worked in 0.5beta4 and now is broken.
class base(object):
__sa_instrumentation_manager__ = SetListener
listener = ReceiveEvents()
class SetListener(InstrumentationManager):
def instrument_attribute(self, class_, key, inst):
inst.impl.extensions.append(listener)
when instrument_attribute is called inst.impl is None.
I then look at the examples and try the examples/custom_attributes.py
which had the same problem.
Any Ideas on how to make the this work again ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---