concreteproperties.utils.CustomTimeElapsedColumn#

class CustomTimeElapsedColumn(table_column=None)[source]#

Bases: ProgressColumn

Renders time elapsed in milliseconds.

Methods

get_table_column

Get a table column, used to build tasks table.

render

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.

Return type

Union[ConsoleRenderable, RichCast, str]

Args:

task (Task): An object containing information regarding the task.

Returns:

RenderableType: Anything renderable (including str).

get_table_column()#

Get a table column, used to build tasks table.

Return type

Column