kashifusmani / interview_prep

2 stars 2 forks source link

I usually use Cerberus to validate the json schema #4

Closed ghost closed 4 years ago

ghost commented 4 years ago

This just makes it cleaner than this, but for interviews, you can keep it the same if you want. Or may be writing a comment to use something like the following package would be enough https://docs.python-cerberus.org/en/stable/

https://github.com/kashifusmani/interview_prep/blob/f1bcf65cf6eee6b12a47d75caf9a51301eecdd5a/punchh/app/data_loader.py#L38

kashifusmani commented 4 years ago

done