New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(settings): stop using Config.env_prefix
for secrets in BaseSettings
#2190
Conversation
Codecov Report
@@ Coverage Diff @@
## master pydantic/pydantic#2190 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 21 21
Lines 4199 4198 -1
Branches 854 853 -1
=========================================
- Hits 4199 4198 -1
Continue to review full report at Codecov.
|
I think this is great but we need:
|
Looks good to me, but sadly this has some fairly complicated conflicts. |
Wow this is old 🙈. @PrettyWood what do you think? V1.10, V2 or close. |
I would close as much as possible and avoid a breaking change |
But should we keep this for V2? |
I still agree with myself 😄 If we can change this in v2, that will be great! We can keep this open not to forget but if the issue remains open, I don't know it's worth the duplicate. Your call |
Great, keeping it open. |
Closing this, as any new PR would need to be against https://github.com/pydantic/pydantic-settings |
Change Summary
We were using the
env_prefix
for secrets, which doesn't make sense and is very confusing.Now we just don't
Related issue number
closes pydantic/pydantic-settings#30
Checklist
changes/<pull request or issue id>-<github username>.md
file added describing change(see changes/README.md for details)