On Monday, July 9, 2012 4:28:30 PM UTC+2, pdknsk wrote: > > I don't know if it's documented, but it was mentioned in the release > notes. > > The Datastore API now includes a NonTransactional decorator to ensure > that a function is run outside of a transaction. Existing transactions > are paused while the function is executing.
Also, in NDB you can run multiple transactions as well as non-transactional code "concurrently" using the propagation option to transaction() or @transactional(), or the @non_transactional decorator. (I put "concurrently" in parentheses since this is not a multi-threading API but simply uses NDB's async I/O facilities.) See the docs at https://developers.google.com/appengine/docs/python/ndb/transactions (which sadly misspell this flag as "propogation". I will fix this.) -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/9zRp-2R_EaYJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
