Skip to content

Commit 0b06dcf

Browse files
authored
feat: Update aws-python-flask-dynamodb-api (serverless#725)
1 parent 16e8e74 commit 0b06dcf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

aws-python-flask-dynamodb-api/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Example of a Python Flask API service backed by DynamoDB with traditional Serverless Framework",
55
"author": "",
66
"devDependencies": {
7-
"serverless-python-requirements": "^5.1.0",
8-
"serverless-wsgi": "^1.7.6"
7+
"serverless-python-requirements": "^6.0.0",
8+
"serverless-wsgi": "^3.0.1"
99
}
1010
}

aws-python-flask-dynamodb-api/serverless.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ service: aws-python-flask-dynamodb-api
33
frameworkVersion: '3'
44

55
custom:
6-
tableName: 'users-table-${self:provider.stage}'
6+
tableName: 'users-table-${sls:stage}'
77
wsgi:
88
app: app.app
99

1010
provider:
1111
name: aws
12-
runtime: python3.8
13-
stage: dev
12+
runtime: python3.9
1413
iam:
1514
role:
1615
statements:

0 commit comments

Comments
 (0)