p2p-ld / numpydantic

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

[dtype] Support Unions #24

Closed sneakers-the-rat closed 2 months ago

sneakers-the-rat commented 2 months ago

fix: https://github.com/p2p-ld/numpydantic/issues/19

Much like how we support the labor movement, we support the evaluation of union dtypes

Also:

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 11008989398

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/numpydantic/serialization.py 20 21 95.24%
<!-- Total: 71 72 98.61% -->
Totals Coverage Status
Change from base Build 11005418678: -0.06%
Covered Lines: 1194
Relevant Lines: 1204

💛 - Coveralls