refactor(ui): remove TimeRemainingColumn from progress bar for clarity
This commit is contained in:
1 file changed
+1
-2
@@ -9,7 +9,7 @@ from typing import Any, Dict, List, Optional
|
|||||||
from rich import box
|
from rich import box
|
||||||
from rich.console import Console
|
from rich.console import Console
|
||||||
from rich.panel import Panel
|
from rich.panel import Panel
|
||||||
from rich.progress import BarColumn, Progress, SpinnerColumn, TaskProgressColumn, TextColumn, TimeRemainingColumn
|
from rich.progress import BarColumn, Progress, SpinnerColumn, TaskProgressColumn, TextColumn
|
||||||
from rich.table import Table
|
from rich.table import Table
|
||||||
from rich.text import Text
|
from rich.text import Text
|
||||||
|
|
||||||
@@ -79,7 +79,6 @@ class UIFormatter:
|
|||||||
TextColumn("[bold blue]{task.description}"),
|
TextColumn("[bold blue]{task.description}"),
|
||||||
BarColumn(bar_width=40),
|
BarColumn(bar_width=40),
|
||||||
TaskProgressColumn(),
|
TaskProgressColumn(),
|
||||||
TimeRemainingColumn(),
|
|
||||||
console=console,
|
console=console,
|
||||||
)
|
)
|
||||||
task = progress.add_task(description, total=total_steps)
|
task = progress.add_task(description, total=total_steps)
|
||||||
|
|||||||
Reference in new issue
Block a user