Skip to content

Avoid env_prefix falling back to env vars without prefix #648

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

Merged
merged 3 commits into from
Jul 24, 2025

Conversation

tselepakis
Copy link
Contributor

This is a rather simple fix to avoid falling back to env vars without a prefix.

Fixes #441

@tselepakis tselepakis marked this pull request as draft July 2, 2025 15:30
@tselepakis tselepakis marked this pull request as ready for review July 2, 2025 17:39
@hramezani
Copy link
Member

Thanks @tselepakis for this PR.

I am busy right now, I will review it later. Meanwhile, could you please post a message on the issue and ask the people there for feedback?

@hramezani
Copy link
Member

Thanks @tselepakis for the PR. Let's merge the PR and publish it in the next release to see how it works.

@hramezani hramezani enabled auto-merge (squash) July 24, 2025 13:34
@hramezani hramezani merged commit 1fc2087 into pydantic:main Jul 24, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

env_prefix falls back to env vars without prefix
2 participants