Skip to content

yaml_encode

Source

Hook for converting a dict to a yaml encoded string.

Inputs

Name Type Default Required Description
data Union[dict, list, str] True Map/list or renderable string to data to convert to yaml string.

Arguments

Position Argument Type
1 data Union[dict, list, str]

Returns

str