I moved some functionality in a fairly significant App Engine application to the backend and suddenly began to receive a number of errors in the places where I used transactions when working through dev_appserver.py:
ApplicationError: ApplicationError: 10001 Transaction(<handle: 0x1, app: "dev~MYAPPNAME", >) not found
I realized that the problem only occurs when starting the application through --backends. And I assume that the problem arises because I have a transaction that adds the task to the queue using " transactional=True ", i.e.:
def txn():
Is this the result of the single-threaded nature of dev_appserver? Is there any work for this?
source share