Skip to content

Commit b6c8142

Browse files
m
1 parent 66d573d commit b6c8142

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Examples/runtimes/python/DynamoDBEncryption/src/interceptor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@
9191

9292
# "Main"
9393

94-
client = boto3.client("dynamodb")
94+
boto3_client = boto3.client("dynamodb")
9595

9696
from aws_database_encryption_sdk.encryptor.interceptor import (
9797
register_encryption_interceptor
9898
)
9999

100100
register_encryption_interceptor(
101-
client = client,
101+
client = boto3_client,
102102
encryption_configs = tables_config,
103103
expect_standard_dictionaries = True
104104
)
@@ -108,7 +108,7 @@
108108
"Item": item_to_encrypt,
109109
}
110110

111-
put_item_output = client.put_item(**put_item)
111+
put_item_output = boto3_client.put_item(**put_item)
112112

113113
get_item_key = {
114114
"partition_key": "LucasPythonTesting",
@@ -120,6 +120,6 @@
120120
"Key": get_item_key
121121
}
122122

123-
get_item_output = client.get_item(**get_item)
123+
get_item_output = boto3_client.get_item(**get_item)
124124

125125
assert get_item_output["Item"] == item_to_encrypt

0 commit comments

Comments
 (0)