citrine.informatics.constraints.constraint module

Tools for working with Constraints.

class citrine.informatics.constraints.constraint.Constraint

Bases: PolymorphicSerializable[Constraint]

A Citrine Constraint places restrictions on a design space.

Abstract type that returns the proper type given a serialized dict.

classmethod build(data: dict) SelfType

Build the underlying type.

classmethod get_type(data)

Return the subtype.