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

Immutable object representing and index and its state.

Inherits From: expected_type

definition An Index object describing the index.
id The index ID, an integer.
state The index state, a string.

Possible values are 'error', 'deleting', 'serving' or 'building'.

Methods

__eq__

View source

Compare two index states.

__ne__

View source

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