Run Process Lambda
This example runs a lambda process in the platform:
result = vf.create_process_entity(
project=projectId,
type=vf.entity_type.Process,
name="Generate Tetra Model " + strand,
fields={
'file_folder' : folderId,
'code': 'estimations-generate-tetra-model.py',
'input_value_bm_entity': raw_block_model_id,
'input_value_bm_file': block_model_name,
'input_value_strand': strand
},
crs=request.crs,
files=['./estimations/estimations-generate-tetra-model.py'],
callback=my_callback_url)
if not result.success:
print(result.error_info)
exit(1)
process_id = result.id