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