bagof.validators.numpy
Validators for numpy types (dtype, ndarray).
Classes
IsDType
IsNDArray
Bases: ArrayValidator
Validator for numpy.ndarray.
Checks the array type, then the dtype and shape named in the hint
(e.g. ndarray[Tuple[Literal[3], int], dtype[float64]]).