This example creates a new report program.


result = vf.create_lambda_python(

    project=project

    type=vf.lambda_type.Report,

    name="My Volume Report Lambda"

    fields={},

    code=open('./lambdas/ComputeVolumeLambda.py').read())

if not result.success:

    print(result.error_info)

    exit()

report_lambda_id = result.id