MilanStaffehl / numdantic

Typing support for numpy arrays and numpy array validation with pydantic.
MIT License
1 stars 0 forks source link

Raise `ValidationError` in strict mode when given a sequence #23

Open MilanStaffehl opened 1 month ago

MilanStaffehl commented 1 month ago

Currently, sequences pass validation in strict mode, but it would be more in the style of pydantic to have the validation in strict mode fail unless the given type is ndarray.