

def __call__(self, value, system):
    response = system['request'].response
    response.headers['Content-Type'] = 'application/x-yaml; charset=UTF-8'
    return yaml.dump(value).encode('utf-8')

dataset/ETHPy150Open striglia/pyramid_swagger/pyramid_swagger/api.py YamlRendererFactory.__call__/original