File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
DynamoDbEncryption/runtimes/python
src/aws_database_encryption_sdk/encryptor
Examples/runtimes/python/DynamoDBEncryption/src Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ aws-cryptographic-material-providers = { path = "../../../submodules/MaterialPro
18
18
pytest = " ^7.4.0"
19
19
20
20
# [build-system]
21
- # requires = ["poetry-core"]
21
+ # requires = ["poetry-core<2.0.0 "]
22
22
# build-backend = "poetry.core.masonry.api"
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def __init__(
55
55
)
56
56
57
57
def put_item (self , ** kwargs ):
58
- # TODO: refactor shared logic (DDB/Python conversions)
58
+ # TODO: refactor shared logic (DDB/Python conversions, client/table )
59
59
if self ._expect_standard_dictionaries :
60
60
dynamodb_item = dict_to_ddb (kwargs ["Item" ])
61
61
dynamodb_input = kwargs
Original file line number Diff line number Diff line change 108
108
109
109
put_item_output = encrypted_client .put_item (** put_item )
110
110
111
+ item_to_get = {
112
+ "partition_key" : "LucasPythonTesting" ,
113
+ "sort_key" : 1234 ,
114
+ }
115
+
111
116
get_item = {
112
117
"TableName" : ddb_table_name ,
113
- "Key" : item_to_encrypt
118
+ "Key" : item_to_get
114
119
}
115
120
116
121
get_item_output = encrypted_client .get_item (** get_item )
You can’t perform that action at this time.
0 commit comments