Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pydantic

Can I Create A Unix Time Type Which Automatically Converts To Datetime In Pydantic?

I receive a JSON response like with a unix timestamp, e.g.: {'protocol': 'http', &#… Read more Can I Create A Unix Time Type Which Automatically Converts To Datetime In Pydantic?

Pydantic Convert To Jsonable Dict (not Full Json String)

I'd like to use pydantic for handling data (bidirectionally) between an api and datastore due t… Read more Pydantic Convert To Jsonable Dict (not Full Json String)