blog
blog copied to clipboard
python rest api serverless tutorial refers to wsgi.handler which appears to be outdated
I'm following https://serverless.com/blog/flask-python-rest-api-serverless-lambda-dynamodb/.
When I run sls deploy
I receive the following warning:
$ sls deploy
[...]
Serverless: Warning: Please change "wsgi.handler" to "wsgi_handler.handler" in serverless.yml
Serverless: Warning: Using "wsgi.handler" still works but has been deprecated and will be removed
Serverless: Warning: More information at https://github.com/logandk/serverless-wsgi/issues/84
Serverless: Using Python specified in "runtime": python3.7
[...]
I'm using the python3.7 runtime. I'm unsure if this warning is present with python3.6.
My serverless.yml file.