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 1616sys .path .append (test_dir + "/internaldafny/extern" )
1717sys .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
1922import aws_dbesdk_dynamodb_test_vectors .internaldafny .extern .CreateInterceptedDDBTable
2023import aws_dbesdk_dynamodb_test_vectors .internaldafny .extern .CreateWrappedDictItemEncryptor
2124
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:
You can’t perform that action at this time.
0 commit comments