ConstraintCollection#
- class ConstraintCollection#
Live mapping of all retained constraints. IDs do not determine role.
- __contains__(key: object) bool#
- __getitem__(key: ConstraintIDBase) ConstraintView#
- __iter__() Iterator[ConstraintIDBase]#
Iterate a snapshot of typed IDs; constraint rows are not collected.
- __len__() int#
- __repr__() str#
- get(key: ConstraintIDBase, default: None = None) ConstraintView | None#
- get(key: ConstraintIDBase, default: ConstraintView) ConstraintView
- get(key: ConstraintIDBase, default: _T) ConstraintView | _T
- items() ItemsView[ConstraintIDBase, ConstraintView]#
Live item view; each row is fetched when visited.
- keys() KeysView[ConstraintIDBase]#
Live key view. Iteration order is family order, then numeric ID.
- of_kind(kind: ConstraintKind[_K]) ConstraintFamilyView[_K, ConstraintView]#
- values() ValuesView[ConstraintView]#
Live value view; each row is fetched when visited.