Skip to main content

Gate

The checks that end a step. It passes when every check passes or is overridden.

Usage

Source

Gate(**data)

Attributes

Name Description
failed The checks that failed and were not overridden.
overridden The checks that failed and were accepted by an override.
passed Every check passed or was overridden with a reason.

failed

The checks that failed and were not overridden.

failed: tuple[Check, …]


overridden

The checks that failed and were accepted by an override.

overridden: tuple[Check, …]


passed

Every check passed or was overridden with a reason.

passed: bool

Methods

Name Description
evaluate() Build a gate, attaching each override to the check it names.

evaluate()

Build a gate, attaching each override to the check it names.

Usage

Source

evaluate(checks, overrides=())

An override that names no check in the gate is refused.