Replies: 4 comments 3 replies
-
Nice! I wasn't familiar with this package but it sounds great, will solve a few problems. Doesn't look like it's super popular but obviously pydantic support goes a long way. I did a little research and found e.g. this: https://www.reddit.com/r/learnpython/comments/12cm6cm/library_for_python_similar_to_gos_viper_12_factor/ Seems like there isn't another great and currently maintained option for this problem. Let's do it! Thanks! |
Beta Was this translation helpful? Give feedback.
-
FastAPI template also uses it, which can refer to |
Beta Was this translation helpful? Give feedback.
-
I was trying to figure out how to do value patching in tests and found a couple of references - putting here to have handy later if needed https://rednafi.com/python/patch_pydantic_settings_in_pytest/ |
Beta Was this translation helpful? Give feedback.
-
Have you considered making an LLM from the same provider configurable? This change will primarily affect the API input (as well as the input options for Streamlit). |
Beta Was this translation helpful? Give feedback.
-
pydantic-settings document
I hope to incorporate pydantic-settings to manage environment variables uniformly.
Each time we use environment variables, we should access them through this object instead of always using
os.getenv
oros.environ
.If you think this is a good idea, I can provide a PR to accomplish it.
Beta Was this translation helpful? Give feedback.
All reactions