[10] Validate file schema with Python library cerberus

preview_player
Показать описание
Use the cerberus library to validate file schema, such as GL detail or other accounting files.
Рекомендации по теме
Комментарии
Автор

Hi sir,

1. Thanks for the content.
2. You're a talented teacher.
3. What about coerce methods? Says if I'm taking in a text file but I need to check if it's a int vs float. Panders and pydantic has the method but I like Cerberus easy methods. 🆘

chriskeo
Автор

What a dope video.

How about nullables? Nan, na,

chriskeo
Автор

Why did v.validate('Amount': 1000)) evaluate as *True* at 3:57? Would have thought it would be *False* given that it's not a float.

bli