Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now available in preview.

google.appengine.datastore.datastore_index.ParseIndexDefinitions

Parses an individual index definitions document from string or stream.

document YAML document as a string or file-like stream.
open_fn Function for opening files. Unused.

EmptyConfigurationFile when the configuration file is empty. MultipleConfigurationFile when the configuration file contains more than one document.

Single parsed YAML file if one is defined, else None.