https://pantsbuild.org/ logo
#general
Title
# general
h

handsome-sunset-98068

09/16/2022, 8:36 AM
toned down the code for reprod. using the latest version img2pdf==0.4.4 BUILD:
Copy code
python_sources()

python_awslambda(
    name="img2pdf-lambda",
    runtime="python3.9",
    handler="./handler.py:lambda_handler",
)
handler.py
Copy code
import img2pdf

def lambda_handler(event, context):
    print('hello world')
4 Views