yams: Fix constraints typing
-
BoundaryConstraint
boundary
param typing only acceptsOptional[Union["Attribute", "NOW", "TODAY"]]
. It should also allow numbers and dates. -
IntervalBoundConstraint
minvalue
andmaxvalue
only acceptOptional[Union[int, float]]
. it should also allow dates.
Edited by Arnaud Vergnet