Validation

Contents

Validation#

class pulserver.protocol.Validation[source]#

Bases: object

Reply of the validate design call.

Attributes:
  • valid (bool) – Whether the protocol is valid.

  • duration (float | None) – Scan time in seconds; None when the plugin reports none.

  • info (str) – A note, or the reason the request is invalid.

  • values (dict[ProtocolKey, float | int | bool | str]) – The resolved protocol for a valid request, the request itself for an invalid one, as wire values by key.

  • rf_layout (RfLayout | None) – The RF layout of a valid evaluation; None where the plugin states none or plays no RF, for an invalid request, and for a reply read from text. Excluded from equality and from the representation.

  • display (Display) – The figures the evaluation states for a console to show; none for an invalid request.

Attributes