Set the global flag to show or hide the progress bar.
Parameters:
| Name |
Type |
Description |
Default |
show
|
bool
|
If True, show the progress bar; otherwise, hide it.
|
required
|
Source code in src/ipc_module/config.py
| def set_progress_bar(show: bool):
"""
Set the global flag to show or hide the progress bar.
Parameters:
show (bool): If True, show the progress bar; otherwise, hide it.
"""
global SHOW_PROGRESS_BAR
SHOW_PROGRESS_BAR = show
|