Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python rest api serverless tutorial refers to wsgi.handler which appears to be outdated #845

Open
rene00 opened this issue Mar 15, 2019 · 0 comments

Comments

@rene00
Copy link
Contributor

rene00 commented Mar 15, 2019

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.

rene00 added a commit to rene00/serverless-blog that referenced this issue Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant