dirconn.AssumptionChecklist#

class dirconn.AssumptionChecklist(checks: tuple[AssumptionCheck, ...] = ())#

An ordered set of assumption checks with unique names.

__init__(checks: tuple[AssumptionCheck, ...] = ()) → None#

Methods

__init__([checks])

from_list(items)

Rebuild a checklist from to_list() output.

get(name)

Return the check called name; raise KeyError if absent.

to_list()

Return a JSON-compatible list of dictionaries.

unchecked()

Return the standard assumptions, all marked "not_checked".

with_check(check)

Return a new checklist where check replaces the entry of the same name.

Attributes

checks

has_warnings

Whether any check has status "warn" or "fail".