Comments (2)
https://github.com/grimen/python-config2/blob/master/config2/config.py#L246
if say custom-environment-variables.yml is empty,
env_variables_file.data will be either None., or give KeyError. Performing copy() on a None object throws error
** AttributeError: 'NoneType' object has no attribute 'copy'**
Once the error is raised,
These lines are never executed.
https://github.com/grimen/python-config2/blob/master/config2/config.py#L248-L258
from python-config2.
Closed by 470f573 - v0.2.1
from python-config2.
Related Issues (20)
- Bug/Enhancement: Root path detection failing under certain conditions - use stack frame info to handle all cases
- Example: Add usage example that is runnable with latest - and update `README` accordingly
- Enhancement: Add `silent = <bool>` option to constructor to silence accessor errors and just return `None` instead of throwing access error
- YAML load warning
- Broken module requirements (mybad) HOT 11
- how to use multiple config file in one enviroment HOT 1
- Dev dependencies not separated
- How to use this when I package all into a package and installed in local virtual env? HOT 3
- Run into infinite loop while trying to import config from config2.config HOT 4
- Feature: `config.inspect` inspection helper
- feature request: support NODE_CONFIG_DIR equivalent for multiple config directories
- How to run this command on windows system ENV=development python app.py HOT 1
- Codecov yanked from PyPI (all versions)
- Nice package. Does this support JSON config files?
- config.get_env() AttributeError HOT 1
- Feature: `config.truthy` helper
- pip install config2 still installs release 0.2.0 HOT 4
- Enhancement: Error messages not very human friendly - should be very specific why something failed (user error vs system error)
- Bug: The sophisticated root path auto-detection not enabled by default for some reason =S
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 python-config2.