Comments (1)
This is improved in v1.3, It now raises a warning about the missing config file, and the application runs successfully.
However, if the config file is missing, and the config value is not found in any source, It will raise the same AttributeError: 'str' object has no attribute 'get'
Exception, instead of the helpful missing-value message which tells you what value is missing, ex: please add PROJECT_CONFIG_ITEM to ENV
etc.
missing config items should raise the helpful missing value message even if a config file is not specified.
from batconf.
Related Issues (20)
- sub-module config env_name path missing BAT_ prefix
- remove module/path args HOT 1
- add install instructions to README file
- implement __repr__ for manager.Configuration object
- implement __str__ for manager.Configuration object HOT 1
- Add credential store source
- Add link to github repo in pypi page
- Handle falsey return values from sources HOT 1
- Bump or unpin pyYAML
- Add an AUTHORS.rst file to the project
- Fix type hints
- Investigate DataclassConfig.get return values
- Create and deploy project documentation
- Cleanup Sphinx documentation HOT 1
- Add social media preview cards to docs
- Add official support for MacOS
- Add release notes
- Add path option to Configuration class HOT 3
- Add Changelog to documentation
- Document release process
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 batconf.