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

Normalizes filter and order query components.

The resulting components have the same effect as the given components if used in a query.

filters The filters set on the query.
orders The orders set on the query.
exists The names of properties that require an exists filter if not already specified.

(filter, orders) the reduced set of filters and orders.