Python 3.10 is now available in preview.

google.appengine.ext.deferred.run_from_datastore

Retrieves a task from the datastore and executes it.

key The datastore key of a _DeferredTaskEntity storing the task.

The return value of the function invocation.

PermanentTaskFailure Raised if the task entity is missing.