This change was motivated by @jghouse88 where he was using a ConfigBlock as a template for several sections of a Config and wanted to overwrite the doc field. This PR supports the following:
Adding the ability to override constructor arguments (default, doc, description, visibility, domain, implicit, implicit_domain) when duplicating an object through __call__()
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution:
I agree my contributions are submitted under the BSD license.
I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.
Coverage increased (+0.02%) to 64.0% when pulling 5dfe8ad762d2314f15b51529a8f645ff2b7b1cdf on configblock_call_opts into 7657d3e56adcf959fc4c4c7b03f8878853765d43 on master.
Coverage increased (+0.02%) to 64.0% when pulling 5dfe8ad762d2314f15b51529a8f645ff2b7b1cdf on configblock_call_opts into 7657d3e56adcf959fc4c4c7b03f8878853765d43 on master.
Coverage increased (+0.02%) to 64.0% when pulling 5dfe8ad762d2314f15b51529a8f645ff2b7b1cdf on configblock_call_opts into 7657d3e56adcf959fc4c4c7b03f8878853765d43 on master.
Coverage increased (+0.02%) to 64.0% when pulling 5dfe8ad762d2314f15b51529a8f645ff2b7b1cdf on configblock_call_opts into 7657d3e56adcf959fc4c4c7b03f8878853765d43 on master.
Coverage increased (+0.02%) to 64.0% when pulling 5dfe8ad762d2314f15b51529a8f645ff2b7b1cdf on configblock_call_opts into 7657d3e56adcf959fc4c4c7b03f8878853765d43 on master.
Summary/Motivation:
This change was motivated by @jghouse88 where he was using a ConfigBlock as a template for several sections of a Config and wanted to overwrite the
doc
field. This PR supports the following:Changes proposed in this PR:
__call__()
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: