On Jan 21, 2014, at 12:48 AM, Алексей Масленников minis...@gmail.com wrote:
Hi,
How to remove all mapper events?
This does not work:
events.MapperEvents._clear()
There’s no public API to remove mapper events until version 0.9, and in that
version, the removal API is still
Hi,
How to remove all mapper events?
This does not work:
events.MapperEvents._clear()
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Is it possible to remove mapper events? Specifically I want to call
event.remove(mapper, 'mapper_configured', fn) but I get an error back
saying Mapper is not iterable.
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To unsubscribe from this
It's an unimplemented TODO right now.There are ways to remove the events
through non-public means, but for it to be done correctly in all cases, there
are lots of twists and turns that need to be managed (such as, unregistering an
event on an abstract base, an event that has propagate=True,