concreteproperties.utils.CustomTimeElapsedColumn#

class CustomTimeElapsedColumn(table_column: Optional[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: Optional[str] = 'Task') Text[source]#

Show time remaining.

Parameters

task (Optional[str]) – Task string

Returns

Rich text object

Return type

rich.text.Text

__call__(task: Task) Union[ConsoleRenderable, RichCast, str]#

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).

get_table_column() Column#

Get a table column, used to build tasks table.