View source on GitHub |
Immutable object representing and index and its state.
Inherits From: expected_type
google.appengine.ext.ndb.IndexState(
definition, state, id
)
Attributes | |
---|---|
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__
__eq__(
other
)
Compare two index states.
__ne__
__ne__(
other
)
Implement self != other as not(self == other).