- Building Serverless Python Web Services with Zappa
- Abdulwahid Abdulhaque Barguzar
- 88字
- 2021-07-16 18:16:14
What's your modular path to your app function? (default dev)
The AWS Lambda function requires an attribute, such as lambda_handler, which points to a function as an entry point for Lambda execution. Hence, we need to provide information about the function name with a modular path such as <filename>.<function_name/app_name> to Zappa.
In our case, we have a file named hello.py and an app object that was created using the Bottle class of Python's Bottle framework. Hence, the answer to this question is hello.app.