

def output(data):
    '\n    Print out YAML using the block mode\n    '
    params = dict(Dumper=OrderedDumper)
    if ('output_indent' not in __opts__):
        params.update(default_flow_style=False)
    elif (__opts__['output_indent'] >= 0):
        params.update(default_flow_style=False, indent=__opts__['output_indent'])
    else:
        data.update(default_flow_style=True, indent=0)
    return yaml.dump(data, **params)

dataset/ETHPy150Open saltstack/salt/salt/output/yaml_out.py output/VarMisuse@74/122 `params`->`data`