Closed hect0x7 closed 5 months ago
The updates introduce a new logging configuration and retry mechanism in the jmcomic
library, enhance the callback functionality in various API methods, and refine exception handling. Directory naming rules now follow YAML syntax, and several functions have been refactored for clarity and better type hinting. Overall, these changes aim to improve the robustness, user experience, and readability of the code.
File Path | Change Summary |
---|---|
.../option_file_syntax.md |
Introduced log and retry_times options. |
.../tutorial/11_log_custom.md |
Added documentation for customizing logging. |
.../tutorial/9_custom_download_dir_name.md |
Switched directory naming rule syntax to YAML. |
src/jmcomic/__init__.py |
Changed register_jmcomic_component function parameter from gb to variables . |
src/jmcomic/api.py |
Updated functions for callback support and returning sets of tuples. |
src/jmcomic/jm_client_interface.py |
Enhanced method calls and exception handling in various methods. |
src/jmcomic/jm_client_impl.py |
Renamed parameters and methods; added callback handling method. |
src/jmcomic/jm_entity.py |
Altered return type in create_photo_detail method. |
src/jmcomic/jm_option.py |
Refactored functions and methods for readability and type hinting. Grouped similar changes. |
🐰 Oh hark! The code doth evolve and shift,
With logs that trace and retries that lift.
A rabbit's touch, so deft and swift,
Crafting lines where bugs can't drift. 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review
Summary by CodeRabbit
New Features
download_batch
,download_album
, anddownload_photo
functions.Documentation
jmcomic
library.Bug Fixes
Refactor
jm_option.py
.