Class Status
This Enum contains the various states a worker, scheduler and nanny can be
Declaration
class Status(Enum)
source linkDocumentation
in. Some of the status can only be observed in one of nanny, scheduler or
worker but we put them in the same Enum as they are compared with each
other.
Methods
▶ def __eq__(self, other) Implement equality checking with backward compatibility.
If other object instance is string, we compare with the values, but we
actually want to make sure the value compared with is in the list of
possible Status, this avoid comparison with non-existing status.
Reexports