Skip to content

Commit e352a01

Browse files
author
Lucas McDonald
committed
m
1 parent 9a9a0b1 commit e352a01

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

.github/workflows/ci_examples_python.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,3 @@ jobs:
9292
tox -e dynamodbencryption
9393
# Run migration examples
9494
# tox -e migration
95-

Examples/runtimes/python/DynamoDBEncryption/src/item_encryptor/encrypt_decrypt_example.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,19 @@
2121
- Partition key is named "partition_key" with type (S)
2222
- Sort key is named "sort_key" with type (S)
2323
"""
24-
25-
import sys
2624
from typing import Dict, Any
2725

2826

29-
import boto3
30-
from boto3.dynamodb.types import Binary
31-
from decimal import Decimal
32-
3327
from aws_cryptographic_material_providers.mpl import AwsCryptographicMaterialProviders
3428
from aws_cryptographic_material_providers.mpl.config import MaterialProvidersConfig
3529
from aws_cryptographic_material_providers.mpl.models import (
36-
CreateAwsKmsMrkKeyringInput,
3730
CreateAwsKmsMrkMultiKeyringInput,
3831
DBEAlgorithmSuiteId,
3932
)
4033
from aws_cryptographic_material_providers.mpl.references import IKeyring
4134
from aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models import (
4235
CryptoAction,
4336
)
44-
from aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_dynamodb.models import (
45-
DynamoDbTableEncryptionConfig,
46-
DynamoDbTablesEncryptionConfig,
47-
)
48-
from aws_dbesdk_dynamodb.encrypted.client import (
49-
EncryptedClient
50-
)
5137

5238
from aws_dbesdk_dynamodb.encrypted.item import (
5339
ItemEncryptor,

Examples/runtimes/python/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ allowlist_externals = poetry
1212
passenv = AWS_*
1313
commands_pre =
1414
poetry lock
15-
poetry install --with test
15+
poetry install --with test --no-root
1616
commands =
1717
dynamodbencryption: {[testenv:base-command]commands} DynamoDBEncryption/test/
1818
migration: {[testenv:base-command]commands} Migration/PlaintextToAWSDBE/test/

0 commit comments

Comments
 (0)