ConstraintTrue

class jwst.associations.lib.constraint.ConstraintTrue(*args, **kwargs)[source]

Bases: SimpleConstraintABC

Always return True.

Force creation of the constraint attribute dict before anything else.

Returns:
~jwst.associations.lib.constraint.SimpleConstraintABC

New instance of class.

Methods Summary

check_and_set(item)

Empty method to return True from parent abstract method.

Methods Documentation

check_and_set(item)[source]

Empty method to return True from parent abstract method.

Returns:
bool

True from parent abstract method.