Skip to content

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

@rene00

Description

@rene00

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions