
上QQ阅读APP看书,第一时间看更新
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.