jwst.associations.lib.constraint Module

Constraints - use these to define the rules governing association candidate types.

Classes

AttrConstraint(*args, **kwargs)

Test attribute of an item.

Constraint([init, reduce, name, ...])

Constraint that is made up of SimpleConstraints.

ConstraintTrue(*args, **kwargs)

Always return True.

SimpleConstraint(*args, **kwargs)

A basic constraint.

Class Inheritance Diagram

Inheritance diagram of jwst.associations.lib.constraint.AttrConstraint, jwst.associations.lib.constraint.Constraint, jwst.associations.lib.constraint.ConstraintTrue, jwst.associations.lib.constraint.SimpleConstraint