]> git.cworth.org Git - turbot/blobdiff - turbot_lambda/turbot_lambda.py
Beginning of transition to single-table database schema
[turbot] / turbot_lambda / turbot_lambda.py
index b2acf41b520f1c3da723d74e7cb038483d5776a4..aa88339244872125a92e48a530c1e5cd8fb4bbc2 100644 (file)
@@ -66,6 +66,7 @@ db = boto3.resource('dynamodb')
 turb = SimpleNamespace()
 turb.slack_client = slack_client
 turb.db = db
+turb.table = db.Table("turbot")
 turb.sheets = sheets
 turb.permissions = permissions