Talk Python To Me cover image

#313: Automate your data exchange with Pydantic

Talk Python To Me

00:00

How to Export JSON Data to a Database

You can program, Python style classes, even if you're consuming a Java or C sharp API that clearly uses a different format or style for its naming. And in fact one of the things that will come up in future will be different aliases for import for on the inside in way in the outweigh but until so far there's just one but that's powerful. Then you can exclude fields that have defaults. So if you're trying to save that data to addiction to a database and you don't want to save more than you need to, you can exclude stuff where it has the default value. You also have copy so you is that like a shallow copy if you want to clone it off or

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app