Python 3.9 is now generally available.


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



View source

Compare two index states.


View source

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