class documentation

class DataState(Enum): (source)

View In Hierarchy

Shows if data could be trusted.

Constant DATA_STATE_FRESH Data is relevant and reflects current state of the system.
Constant DATA_STATE_STALE Data is not relevant anymore as it was fetched long time ago.
Constant DATA_STATE_UNKNOWN Failed to retrieve data.
Constant DATA_STATE_UNSPECIFIED Shouldn't ever happen.

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __PROTO_DESCRIPTOR__ Enum descriptor from the registry.
Constant __REGISTRY__ Registry for the enum and its descriptor.
Class Variable __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
DATA_STATE_FRESH: ellipsis = (source)

Data is relevant and reflects current state of the system.

Value
...
DATA_STATE_STALE: ellipsis = (source)

Data is not relevant anymore as it was fetched long time ago.

Value
...
DATA_STATE_UNKNOWN: ellipsis = (source)

Failed to retrieve data.

Value
...
DATA_STATE_UNSPECIFIED: ellipsis = (source)

Shouldn't ever happen.

Value
...