When within a progress loop, post_progress(k=str) will display the given k=str status on the right-hand-side of the progress status bar. If not within a visible progress bar, does nothing.
(*args)
| 67 | innermost.set_description(desc) |
| 68 | |
| 69 | def print_progress(*args): |
| 70 | ''' |
| 71 | When within a progress loop, post_progress(k=str) will display |
| 72 | the given k=str status on the right-hand-side of the progress |
| 73 | status bar. If not within a visible progress bar, does nothing. |
| 74 | ''' |
| 75 | if default_verbosity: |
| 76 | printfn = print if tqdm is None else tqdm.write |
| 77 | printfn(' '.join(str(s) for s in args)) |
| 78 | |
| 79 | def default_progress(verbose=None, iftop=False): |
| 80 | ''' |
no test coverage detected