Skip to main content

render.finding_text()

The finding’s sentence, with the style’s template for its key and numbers in the style.

Usage

Source

render.finding_text(
    finding,
    style=None,
)

style is a Style; None means the house style (load_style(None)). This is the text a report shows and dazflow run and dazflow show print; Finding.text keeps the numbers as given, for the run record.

Floats are written with the style’s decimals and separators wherever a template prints them as they are ({ x }); filters and comparisons see the plain number. Integers, booleans and text are printed as given.