Python 3.9 is now generally available.

google.appengine.ext.db.delete

Delete one or more Model instances.

models Model instance, key, key string or iterable thereof.
config datastore_rpc.Configuration to use for this request, must be specified as a keyword argument.

TransactionFailedError if the data could not be committed.