concreteproperties.utils.CustomTimeElapsedColumn#
- class CustomTimeElapsedColumn(table_column=None)[source]#
Bases:
ProgressColumnRenders time elapsed in milliseconds.
Methods
Get a table column, used to build tasks table.
Show time remaining.
Attributes
max_refresh- render(task='Task')[source]#
Show time remaining.
- Parameters
task (
str, default:'Task') – Task string- Returns
Text– Rich text object
- __call__(task)#
Called by the Progress object to return a renderable for the given task.
- Args:
task (Task): An object containing information regarding the task.
- Returns:
RenderableType: Anything renderable (including str).
- Return type
Union[ConsoleRenderable,RichCast,str]
- get_table_column()#
Get a table column, used to build tasks table.
- Return type
Column