Python 3.9 is now generally available.

google.appengine.datastore.datastore_index.ProtoToIndexDefinition

Transforms individual index protocol buffer to index definition.

proto An instance of entity_pb2.CompositeIndex to transform.

A new instance of datastore_index.Index.