Skip to content

Commit 168efcc

Browse files
author
Lucas McDonald
committed
sync
1 parent 28e03f3 commit 168efcc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
"""Stub to allow relative imports of examples from tests."""

TestVectors/runtimes/python/test/table/test_dafny_wrapper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
sys.path.append(test_dir + "/internaldafny/extern")
1717
sys.path.append(test_dir + "/internaldafny/generated")
1818

19+
# These imports set up the tests to use:
20+
# - An EncryptedTable with a shim to make it appear to Dafny-generated code as a DBESDK client
21+
# - A DictItemEncryptor with a shim to take in DDB-formatted JSON and return DDB-formatted JSON
1922
import aws_dbesdk_dynamodb_test_vectors.internaldafny.extern.CreateInterceptedDDBTable
2023
import aws_dbesdk_dynamodb_test_vectors.internaldafny.extern.CreateWrappedDictItemEncryptor
2124

@@ -25,6 +28,7 @@
2528
# - get_item
2629
# - query
2730
# - scan
31+
# - update_item
2832
# https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/index.html#DynamoDB.Table
2933
#
3034
# Unsupported operations on Tables are that are supported by DBESDK are:

0 commit comments

Comments
 (0)