in content/rendering-with-batch/batch/batch.files/job_submission.py [0:0]
def download_blender_file_from_s3():
"""Downloads the blend file from S3 and stores it locally.
"""
bucket = INPUT_URI.split('s3://')[1].split('/')[0]
s3 = boto3.resource('s3')
s3.meta.client.download_file(bucket, FILE_NAME, './{}'.format(FILE_NAME))