Closed hanjinliu closed 7 months ago
The recent updates focus on enhancing the utility module by exporting additional functions and classes, improving the developer experience with tools like iter_members
, get_signature
, and UI components such as Tooltips
. In parallel, an update in the threading utility addresses the handling of nested progress bars, ensuring smoother operation and user feedback during asynchronous tasks.
File Path | Change Summary |
---|---|
magicclass/utils/__init__.py |
Exported new functions (iter_members , get_signature , etc.) and classes (Tooltips , MessageBoxMode ). |
magicclass/utils/qthreading/.../_progressbar.py |
Enhanced nested progress bars handling in _abort_worker method. |
🐇✨
In the realm of magic, where code does weave,
A rabbit hopped, changes up its sleeve.
With a flick and a hop, it enhanced the tools,
Smooth progress bars, no longer the fools.
"To tooltips and boxes," it merrily said,
"May your messages be clear, and confusion shed."
🌟🐾
magicclass/utils/qthreading/_progressbar.py (1)
`434-439`: Added loop in `_abort_worker` method to close nested progress bars without a worker attribute. - Verify that this approach does not introduce memory leaks or unintended side effects, especially in complex threading scenarios. - Consider adding logging or debug information to help trace progress bar closures in complex scenarios. ```diff + import logging + logging.debug("Closing nested progress bar without worker attribute.") ```
Summary by CodeRabbit
iter_members
,get_signature
,show_tree
,Tooltips
, andMessageBoxMode
.