Python 3.9 is now generally available.

google.appengine.datastore.datastore_index.RemoveNativelySupportedComponents

Removes query components that are natively supported by the datastore.

The resulting filters and orders should not be used in an actual 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.

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