Comments (2)
Thanks @sotte for this issue. It is not possible to list env var names right now. I think it would be a good addition and will help a lot. I think it can be a duplicate of #287. I mean we can have a method on each sources and the method will generate required data structure for the source.
So, we can close this one as a duplicate.
What do you think @sotte ?
from pydantic-settings.
Thanks @hramezani. #287 is indeed very similar (though I would not have guessed that from just the headline). I'm closing this as duplicate.
from pydantic-settings.
Related Issues (20)
- Unable to have file secret take precedence even with env_prefix present. HOT 2
- Question about the parameter inference for the constructor in the class inherited from BaseSettings HOT 2
- No arguments to CLI subparser fails to raise an error HOT 11
- Remove SystemExit usage HOT 10
- Feature Request: Add short args to CLI HOT 1
- RootModel[str] cannot be parsed/requires double quotation. HOT 7
- Nested Settings with instances of models as defaults HOT 2
- More ``__init__`` Overwrite Support HOT 2
- Environment Parsing with Default Nested Class HOT 15
- mypy v1.11.0 crashing with `--pretty` and shows errors for union syntax HOT 6
- `AliasChoices` order overrides `settings_customise_sources` priority HOT 1
- Recommendations for background updates HOT 2
- Nested env variables treated as strings when env_file and env_prefix are set but variables aren't prefixed HOT 3
- In pydantic_settings don't use values from ".env" when env_file explictly points to a different file HOT 1
- Nested dataclass settings class gives `AttributeError: __pydantic_fields__` HOT 9
- Feature request: better support for argumentless CLI boolean flags HOT 4
- help message of sub model in basesetting do not show the proper default value if the top field has a default HOT 2
- partial specify the sub model value does not work HOT 3
- Provide working example for using YAML configuration file (and for other configuration sources) HOT 1
- issue with whitespaces in sub configs when parsing CLI args HOT 5
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.