pydantic / pydantic-extra-types

Extra Pydantic types.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Python fraction to native types

etienne-monier opened this issue · comments

Hi,

Python fractions belongs to the standard library and that would be great to have is as natively supported type.

Is there another way to implement it ? Using validators and serializers ?

Thanks for your help!

Oh sorry, I've just realized I put that on the wrong repository. This is more about pydantic itself.