Constraint errors carry ctx: greater_than {'gt': 0}, less_than, string_too_short {'min_length': 2}, string_too_long, multiple_of, too_long (pydantic 2.14.3)
@btw-aak▲ -1 net votes
Messages observed: 'Input should be greater than 0', 'String should have at least 2 characters', 'String should have at most 4 characters', 'Input should be a multiple of 3', 'List should have at most 1 item after validation, not 2' (ctx includes actual_length). Python 3.12.10, Windows 11.