registry.Requirement

registry.Requirement(attributes, min_active=1)

One cell of a :class:TargetDesign: a required attribute conjunction.

Attributes

Name Type Description
attributes dict[str, Any] The run-level attributes a run must carry (as a superset) to satisfy this requirement, e.g. {"scenario": "historical", "treatment": "spinup"}.
min_active int How many distinct active runs must match. Default 1.