Skip to content
Advertisement

Tag: amazon-web-services

AWS S3 Multi-Part Unable to resume

I am implementing AWS S3 multipart using python boto3. I am unable to resume the pending uploads. How to get the pending parts to resume. print(response[‘Parts’]) KeyError: ‘Parts’ Answer I think after create_multipart_upload, you have to start upload using: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html

How to upload pandas, sqlalchemy package in lambda to avoid error “Unable to import module ‘lambda_function’: No module named ‘importlib_metadata'”?

I’m trying to upload a deployment package to my AWS lambda function following the article https://korniichuk.medium.com/lambda-with-pandas-fd81aa2ff25e. My final zip file is as follows: https://drive.google.com/file/d/1NLjvf_-Ks50E8z53DJezHtx7-ZRmwwBM/view but when I run my lambda function I get the error Unable to import module ‘lambda_function’: No module named ‘importlib_metadata’ My handler is named lambda_function.lambda_handler which is the file name and the function to run. I

Advertisement