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.GetRecommendedIndexProperties

Converts the properties returned by datastore_index.CompositeIndexForQuery into a recommended list of index properties with the desired constraints.

Sets (of property names or PropertySpec objects) are sorted, so as to normalize them.

properties See datastore_index.CompositeIndexForQuery.

A tuple of PropertySpec objects.