Summary.format#

Summary.format(pretty: bool | None = None) str[source]#

Format this summary for printing.

Parameters:

pretty – Whether to color the summary for the currently terminal window. If set to None, will infer from the context.