sdv.constraints.Constraint.from_dict

classmethod Constraint.from_dict(constraint_dict)[source]

Build a Constraint object from a dict.

Parameters

constraint_dict (dict) – Dict containing the keyword constraint alongside any additional arguments needed to create the instance.

Returns

New constraint instance.

Return type

Constraint