Python 3.9 is now generally available.

google.appengine.datastore.datastore_index_xml.IndexesXmlToIndexDefinitions

Converts a <datastore-indexes> XML string into an IndexDefinitions objects.

xml_str A string containing a complete XML document where the root node is <datastore-indexes>.

An IndexDefinitions object parsed out of the XML string.

ValidationError In case of malformed XML or illegal inputs.