mapping_to_text

function of dascore.utils.display source

mapping_to_text(
    mapping ,
    header: str ,
    style: str = dc_yellow,
)-> ‘Text’

Get the “➤ Header” block a mapping of names to values prints as.

Parameters

Parameter Description
mapping The names and values to list, one per line.
header What to call the block.
style A rich style, or a key of dascore.constants.dascore_styles.