On Mon, Nov 12, 2018 at 4:29 AM Mikko Ohtamaa <mi...@redinnovation.com>
wrote:

>
> https://stackoverflow.com/questions/15593516/how-to-run-a-script-after-pyramids-transaction-manager-has-returned
>
> Please not that thread local `transaction.manager` might be discouraged
> nowadays, but not sure what is the best practice to get a transaction
> manager for your request.
>

request.tm and request.tm.get().addAfterCommitHook(...)

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/CAKdhhwEoV4a-dMcCpGMJRHzpbXHkBBCF7pGHEDNmxyJ6vsigwA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to