File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
TestVectors/runtimes/python/test/table Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change
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."""
Original file line number Diff line number Diff line change 16
16
sys .path .append (test_dir + "/internaldafny/extern" )
17
17
sys .path .append (test_dir + "/internaldafny/generated" )
18
18
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
19
22
import aws_dbesdk_dynamodb_test_vectors .internaldafny .extern .CreateInterceptedDDBTable
20
23
import aws_dbesdk_dynamodb_test_vectors .internaldafny .extern .CreateWrappedDictItemEncryptor
21
24
25
28
# - get_item
26
29
# - query
27
30
# - scan
31
+ # - update_item
28
32
# https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/index.html#DynamoDB.Table
29
33
#
30
34
# Unsupported operations on Tables are that are supported by DBESDK are:
You can’t perform that action at this time.
0 commit comments