Comments (1)
Proposed solution:
We will only officially support String values in configuration sources. Converting string values to other types will be the responsibility of the application.
This is more aligned with Environment Variable, and CLI sources, and seems to be common among other configuration storage services.
We will not actively prevent custom sources from returning non-string values, but Falsey values will continue to be a known problem if you choose to do so.
We may consider a more complex solution, raising exceptions instead of returning None
, in the future if a compelling use-case presents its self.
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
- 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.