From 7cc07886ca29806fd78f0730e7b352b3f696a6b8 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Thu, 12 Mar 2020 13:55:17 -0400 Subject: [PATCH] Fixing syntax error in quickstart This small bug is documented in Issue#41 (https://github.com/rdegges/flask-dynamo/issues/41), this is a quick PR to remedy this. --- docs/quickstart.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index e07caa9..471c60a 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -75,17 +75,17 @@ Below is an example:: app = Flask(__name__) app.config['DYNAMO_TABLES'] = [ - { + dict( TableName='users', KeySchema=[dict(AttributeName='username', KeyType='HASH')], AttributeDefinitions=[dict(AttributeName='username', AttributeType='S')], ProvisionedThroughput=dict(ReadCapacityUnits=5, WriteCapacityUnits=5) - }, { + ), dict( TableName='groups', KeySchema=[dict(AttributeName='name', KeyType='HASH')], AttributeDefinitions=[dict(AttributeName='name', AttributeType='S')], ProvisionedThroughput=dict(ReadCapacityUnits=5, WriteCapacityUnits=5) - } + ) ] In the above example, I'm defining two DynamoDB tables: ``users`` and