Skip to main content

Attach file to Process Lambda

The following example shows how to attach a file from the temporary drive to the running process lambda entity:

from voxelfarm import process_lambda

lambda_host = process_lambda.process_lambda_host()
floor = os.path.join(scrap, 'tetra_mesh_floor.obj')
lambda_host.attach_file(floor)