-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/17/2014 03:57 PM, wilk wrote: > > Hi, > > For db connexion I use add_request_method with reify=True. In the end > I commit only if this method was called. > > Now I use a tween and record the fact that the connexion was used or > not, it's not a problem but I wonder if there is a way to directly > know if a method was called (and reified) or not ?
If the property name is present in the request instance dict, then it was reified. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [email protected] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlNQNa0ACgkQ+gerLs4ltQ7qpQCgxIqbT8QyNE2Ty4NMcAvUWUEa h6cAmwZCoP/KEIqKzNF122mJjpWy9ZNs =PyO8 -----END PGP SIGNATURE----- -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
