Python 3.10 is now available in preview.

google.appengine.datastore.datastore_stub_util.CheckTransaction

Check that this transaction is valid.

request_trusted If the request is trusted.
request_app_id The application ID of the app making the request.
transaction datastore_pb.Transaction()

apiproxy_errors.ApplicationError if the transaction is not valid.