Closed jsiirola closed 4 years ago
Merging #88 into master will decrease coverage by
0.09%
. The diff coverage is66.66%
.
@@ Coverage Diff @@
## master #88 +/- ##
==========================================
- Coverage 63.10% 63.00% -0.10%
==========================================
Files 87 87
Lines 8800 8824 +24
==========================================
+ Hits 5553 5560 +7
- Misses 3247 3264 +17
Impacted Files | Coverage Δ | |
---|---|---|
pyutilib/misc/config.py | 92.51% <66.66%> (-2.23%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 0fd5f24...f129c2e. Read the comment docs.
Fixes: #N/A
Summary/Motivation:
This PR adds some long-overdue documentation for the ConfigValue / ConfigList / ConfigDict system. As part of this, it resolved some bugs and begins the process to rename ConfigBlock to ConfigDict (both names are currently supported). The documentation was confirmed to build and pass doctests (using the Pyomo Online Docs harness).
Changes proposed in this PR:
ConfigBlock
toConfigDict
ConfigDict.declare_from()
methodConfigDict.set_value()
and__getitem__
for derivedConfigDict
classesdisplay()
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: