Python 3.9 is now generally available.

google.appengine.ext.ndb.transaction_async

Run a callback in a transaction.

This is the asynchronous version of transaction().