Skip to content

Instantly share code, notes, and snippets.

@SrushithR
Created April 4, 2019 13:43
Show Gist options
  • Save SrushithR/74893ea3803326cad7a703d3ee594e94 to your computer and use it in GitHub Desktop.
Save SrushithR/74893ea3803326cad7a703d3ee594e94 to your computer and use it in GitHub Desktop.
A simple lambda function to mimic behaviour of a PDF generation for a movie ticketing application
"""
A simple lambda function to mimic the behaviour of PDF generation
"""
import time
def lambda_handler(event, context):
# mocking the behavior of generating a PDF
time.sleep(2)
return "PDF successfully generated"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment