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.ext.ndb.Index

Immutable object representing an index.

Inherits From: expected_type

ancestor Whether this is an ancestor index, a bool.
kind The kind being indexed, a string.
properties A list of PropertyIndex objects giving the properties being indexed.

Methods

__eq__

View source

Compare two indexes.

__ne__

View source

Implement self != other as not(self == other).