## Gate


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


Usage

``` python
Gate(**data)
```


## Attributes

| Name | Description |
|----|----|
| [failed](#failed) | The checks that failed and were not overridden. |
| [overridden](#overridden) | The checks that failed and were accepted by an override. |
| [passed](#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()](#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

``` python
evaluate(checks, overrides=())
```


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