We introduce a new optional boolean parameter verbose which controls whether diagnostic messages for unknown config options are printed for the Python classmethods Config.from_dict() and Reclass.from_config_file().
This parameter is passed to Config::load_from_file() and Config::set_option(). Since the new parameter isn't optional for either of these methods, this change is breaking for Rust clients that use Config::load_from_file().
If Python callers don't provide the new optional parameter, it defaults to false which disables the diagnostic messages.
Checklist
[x] The PR has a meaningful title. The title will be used to auto generate the changelog
[x] PR contains a single logical change (to build a better changelog).
[x] Update the documentation.
[x] Update tests.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency, internal
as they show up in the changelog
We introduce a new optional boolean parameter
verbose
which controls whether diagnostic messages for unknown config options are printed for the Python classmethodsConfig.from_dict()
andReclass.from_config_file()
.This parameter is passed to
Config::load_from_file()
andConfig::set_option()
. Since the new parameter isn't optional for either of these methods, this change is breaking for Rust clients that useConfig::load_from_file()
.If Python callers don't provide the new optional parameter, it defaults to
false
which disables the diagnostic messages.Checklist
bug
,enhancement
,documentation
,change
,breaking
,dependency
,internal
as they show up in the changelog