Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
prionassembly
on Aug 26, 2021
|
parent
|
context
|
favorite
| on:
I use Attrs instead of Pydantic
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.
RSHEPP
on Aug 26, 2021
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: