top | item 47026100

(no title)

supriyo-biswas | 16 days ago

Personally I’d pass all my JSON-y stuff through Pydantic or similar which would take care of these concerns.

discuss

order

bastawhiz|15 days ago

It wouldn't. If you load configuration and it's the wrong type, now Pydantic is throwing an error. You can't run code if the config is invalid no matter what tools you use: failing validation is still an error.