You can just use the SqlAlchemy events as in the examples in the SqlAlchemy
docs.
If you need to access the current request, you can use Pyramid's
`get_current_request`, which is rather lightweight.
Just a quick bit of forewarning / pIanning -- t's usually best to keep the
pyramid code separat
On 14 Jul 2014, at 09:29, Seth wrote:
> Hello,
>
> I'd like to use SQLAlchemy events
> (http://sqlalchemy.readthedocs.org/en/rel_0_9/orm/events.html) to be able to
> fire off a task when a particular model is updated. For example, say someone
> updates their UserProfile model via a form or a
Hello,
I'd like to use SQLAlchemy events
(http://sqlalchemy.readthedocs.org/en/rel_0_9/orm/events.html) to be able
to fire off a task when a particular model is updated. For example, say
someone updates their UserProfile model via a form or an API -- I'd like to
be aware when the model update