cadrumo.domain.calculations.registry.condition_mode module

How a registry declaration combines the conditions it carries.

One vocabulary, one definition. Deadline windows, modelo schedules, verification declarations and the parity audit surface all ask the same question of a condition list – must every condition hold, or is one enough – and each previously spelled the answer out at its own field. A member added to one spelling would have left the others validating the old set.

class ConditionMode(*values)[source]

Bases: StrEnum

Whether a declaration’s conditions are conjunctive or disjunctive.

ALL

Every declared condition must hold. The default where a field is silent.

ANY

One holding condition is enough, so the list must not be empty.