Closed builderjer closed 1 month ago
The changes in the pull request primarily involve modifications to the Configuration
class in ovos_config/config.py
. Key updates include altering the method for checking internet connectivity in set_config_update_handlers
, deprecating the load_config_stack
method in favor of load_all_configs
, and enhancing error handling in _on_file_change
to improve logging of exceptions. These adjustments refine the configuration management process and guide users toward updated practices.
File Path | Change Summary |
---|---|
ovos_config/config.py | - Updated set_config_update_handlers to use is_connected_http() instead of is_connected() . |
- Deprecated load_config_stack , added warning to use load_all_configs instead. |
|
- Enhanced error handling in _on_file_change to log exceptions during configuration reload. |
|
- Deprecated clear_cache method. |
fix
In the code where configs dwell,
Changes ring like a joyful bell.
Fromstack
toall
, we now take flight,
With logs that shine, making errors bright.
A hop, a skip, to new ways we go,
In the world of config, watch us grow! 🐇✨
Attention: Patch coverage is 0%
with 2 lines
in your changes missing coverage. Please review.
Please upload report for BASE (
dev@fd6e347
). Learn more about missing BASE report.
Files with missing lines | Patch % | Lines |
---|---|---|
ovos_config/config.py | 0.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
fix deprecation warning
Summary by CodeRabbit
load_config_stack
andclear_cache
methods as deprecated; users are encouraged to useload_all_configs
instead.