Comments (2)
for now i'm doing the following:
for k,v in user_cfg.items():
if k in base_cfg and base_cfg[k] != v:
base_cfg.set(k,v)
from cfg_load.
I'm not entirely sure if I understand what you want to do.
Could you give me two configuration examples (e.g. two YAML files) which show the current behavior vs the one you would like to get?
from cfg_load.
Related Issues (20)
- Add to_dict()
- Add cfg.pprint()
- Document list of available converters
- Add str_empty_is_none converter
- Update mpu
- Requires mpu[io]
- _path magic is not applied in lists
- Add 'policy' to _load_remote
- Add load_if_possible policies to remote.load
- How can I specify end line in INI file HOT 1
- Allow override configuration with command line args [enhancement]
- Add support for TOML
- Configuration file validator
- ModuleNotFoundError: No module named 'tzlocal' on dependency "mpu" HOT 2
- Can cfg_load be used by PyCharm to load a configuration
- Add parameter to not load remote files
- Create nicer readme for pypi.org
- Define how to deal with ENV variables HOT 1
- Add times as metadata HOT 1
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 cfg_load.