View source on GitHub |
Converts a <datastore-indexes>
XML string into an IndexDefinitions
objects.
google.appengine.datastore.datastore_index_xml.IndexesXmlToIndexDefinitions(
xml_str
)
Args | |
---|---|
xml_str
|
A string containing a complete XML document where the root node is
<datastore-indexes> .
|
Returns | |
---|---|
An IndexDefinitions object parsed out of the XML string.
|
Raises | |
---|---|
ValidationError
|
In case of malformed XML or illegal inputs. |