(note: str = "processing")
| 8 | |
| 9 | |
| 10 | def progress(note: str = "processing"): |
| 11 | return Progress( |
| 12 | TextColumn(f"{note} •" + "[progress.percentage]{task.percentage:>3.0f}%"), |
| 13 | BarColumn(), |
| 14 | MofNCompleteColumn(), |
| 15 | TextColumn("•"), |
| 16 | TimeElapsedColumn(), |
| 17 | ) |