DiscoverTalk Python To Me#313: Automate your data exchange with PyDantic
#313: Automate your data exchange with PyDantic

#313: Automate your data exchange with PyDantic

Update: 2021-04-221
Share

Description

Data validation and conversion is one of the truly tricky part of getting external data into your app. This might come from a REST API, a file on disk, or somewhere else. This includes checking for required fields, correct data types, converting from compatible types (for example, strings to numbers), and much more. Pydantic is one of the best ways to do this in modern Python using dataclass-like constructs and type annotations to make it all seamless and automatic.
Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

#313: Automate your data exchange with PyDantic

#313: Automate your data exchange with PyDantic

Michael Kennedy (@mkennedy)