terminal
terminal
#
print_progress — draw the process's open steps in a terminal for the block.
A terminal gets the tree redrawn in place ten times a second: every open step
with its elapsed time, its count as a bar, and its note; a finished map or
top-level step stays as a done line. Anything that is not a terminal gets one
line as a step opens and one as it closes.
print_progress(stream=None)
#
Show what the block is doing in the terminal.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
stream
|
IO[str] | None
|
Where to draw; |
None
|