bojanb wrote:
I was under the impression that returning EXT_STOP in my
MapperExtension.before_insert() can prevent an object from being
inserted into the database altogether, but that doesn't seem to be
working, so I'm not sure if I'm misunderstanding the operation of
MapperExtensions or
it does not.
http://www.sqlalchemy.org/docs/05/reference/orm/interfaces.html?highl...
Returning EXT_STOP will halt processing of further extensions handling
that method.
that only refers to additional extensions.
Right. The doc was a little ambigous - the or use the default
functionality