p2p-ld / numpydantic

Type annotations for specifying, validating, and serializing arrays with arbitrary backends in Pydantic (and beyond)
https://numpydantic.readthedocs.io/
MIT License
66 stars 1 forks source link

Check for dtype subclass #7

Closed sneakers-the-rat closed 3 months ago

sneakers-the-rat commented 3 months ago

Hot on the heels of 1.3.1, we should also accept subclasses of objects when we are using object arrays.