【发布时间】:2023-03-25 03:18:01
【问题描述】:
我已经开始使用 AWS SAM for python。在本地测试我的功能时,我运行:
sam build --use-container
sam local start-api
You can now browse to the above endpoints to invoke your functions. You do **not** need to restart/reload SAM CLI while working on your functions, changes will be reflected instantly/automatically.
sam local invoke ...
然后,如果我对代码进行更改,当我再次调用我的函数时,它不会在没有重建的情况下反映出来。我在这里缺少什么技巧吗?这个提示我不清楚。
【问题讨论】:
标签: python amazon-web-services aws-lambda serverless