MilanStaffehl / numdantic

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

Rename error type to `from_sequence` #8

Closed MilanStaffehl closed 1 month ago

MilanStaffehl commented 2 months ago

When there is an error in casting a nested sequence to an array, the error type is given as inhomogeneous_sequence - but that is not guaranteed. It could also be that the elements of the array have incompatible types. Renaming it to a more generic from_sequence error type would make sense.