Python 3.9 is now generally available.

google.appengine.ext.db.get_indexes_async

Asynchronously retrieves the application indexes and their states.

Identical to get_indexes() except returns an asynchronous object. Call get_result() on the return value to block on the call and get the results.