Python 3.9 is now generally available.

google.appengine.api.background_thread.start_new_background_thread

Starts a new background thread.

Creates a new background thread which will call target(*args, **kwargs).

target A callable for the new thread to run.
args Position arguments to be passed to target.
kwargs Keyword arguments to be passed to target.

The thread ID of the background thread.