NodeStatus

class NodeStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

The status of the node, indicating whether its calibration has been performed or not.

Knowing the status of the node allows the graph traversal algorithms determine whether to proceed or not with a sequence of calibrations across a graph.

All nodes start at the UNCALIBRATED status. After the calibrate method of the node is called, it may update to either SUCCESS or FAIL, depending on the outcome of the calibration function.

Variables

  • UNCALIBRATED – The node has not been calibrated.
  • FAIL – The node calibration failed or has timed out.
  • SUCCESS – The node calibration succeeded.

Was this useful?