baybe.constraints.deprecation.structure_constraints

baybe.constraints.deprecation.structure_constraints(val: dict, cls: type)[source]

A structure hook taking care of deprecations.

Return type:

Constraint