On Sep 2, 1:17 am, ryan <[EMAIL PROTECTED]> wrote:

> having said that, the python API already detects and prohibits nested
> transactions. from the beginning of RunInTransaction() in
> datastore.py:
>
>   if _CurrentTransactionKey():
>     raise datastore_errors.BadRequestError(
>       'Nested transactions are not supported.')
>
> if you want to handle nested transactions yourself, you could just
> catch BadRequestError exceptions.

hi ryan.

i actually got that error, i need to do something in a transaction,
that might also be triggered by another function that already runs in
a transaction, so it's ok for me to use the already running
transaction.

thx, for the clarification






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to