On Jan 21, 2014, at 12:48 AM, Алексей Масленников <[email protected]> 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 per-listener only.

There is non-public API in 0.7 which you can examine in the teardown code of 
test/orm/test_events.py, it’s along the lines of Mapper.dispatch._clear().




Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to