Comments (2)
It's not only env_prefix
. case_sensitive
is not also included in __init__
.
I think we can include both of them. PR welcome.
Please remember to update the docs and add proper tests
from pydantic-settings.
Nice, will do
from pydantic-settings.
Related Issues (20)
- Setting a `BaseSettings` field repeated times using different aliases in different settings sources results in `ValidationError` HOT 6
- Using multiple BaseSettings with different prefixes HOT 6
- Cannot override env var when creating model HOT 9
- Question/proposal: Lazy sources HOT 6
- pydantic.errors.PydanticUndefinedAnnotation: name 'DotenvType' is not defined HOT 2
- Inconsistent applying annotated BeforeValidator HOT 1
- What is the best Practices for YAML Configuration Loading HOT 1
- Please bring back env= to use it instead of alias to override envvar names for fields HOT 2
- .env file not work with poetry
- upgrade from pydantic v2.4.3 to v2.5.1 introduced a regression using `BaseSettings` with union-types HOT 5
- Add support for reading configuration from .json files HOT 2
- test_docs_examples fail, the document need to update HOT 4
- Feature Request: Make it possible to specify environment variables for fields again
- Optional (or Union) types cannot be loaded from JSON secrets HOT 1
- Dynamic settings property HOT 1
- [Question] Is it still possible to pass None through environment variables? HOT 8
- Add `RootSettings` HOT 9
- Pyright Gives arguments missing for parameters HOT 3
- What is the proper way to replicate `DotEnvSettingsSource` to read yaml files? HOT 1
- How to Override Deeply Nested Settings using Environment Variables? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydantic-settings.