News for hackers. Stuff that matters.
Re:I use Attrs instead of Pydantic by prionassembly on Thursday August 26, 2021 @09:37AM (#28314752)
Pydantic's "BaseSettings" has pretty much cured the evergreen itch of writing my own configuration languages. I love that env vars automatically override default values.
Re:I use Attrs instead of Pydantic by RSHEPP on Thursday August 26, 2021 @12:28PM (#28317061)
Agreed. All my Go apps were written this way, it was nice to use Pydantic in a similar way. Especially in K8s, where most of my config is env vars.