async def handler_package_workflow_roles(request):
    post = (await request.post())
    result = read_yaml_file(post['path'])
    roles = result[0]['roles']
    return web.json_response(roles)
async def handler_package_workflow_roles(request):
    post = (await request.post())
    result = read_yaml_file(post['path'])
    roles = result[0]['roles']
    return web.json_response(roles)