Skip to content

Commit 376edbb

Browse files
author
Lucas McDonald
committed
m
1 parent 22e30c2 commit 376edbb

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

DynamoDbEncryption/runtimes/python/src/aws_dbesdk_dynamodb/internal/client_to_resource.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,14 @@ def batch_write_item_response(self, batch_write_item_response):
114114
return self.boto3_converter.BatchWriteItemOutput(batch_write_item_response)
115115

116116
def update_item_response(self, update_item_response):
117+
# DBESDK transformers will raise an exception before this is called
117118
raise NotImplementedError("update_item response handling is not implemented")
118119

119120
def batch_execute_statement_request(self, batch_execute_statement_request):
120121
return self.boto3_converter.BatchExecuteStatementInput(batch_execute_statement_request)
121122

122123
def batch_execute_statement_response(self, batch_execute_statement_response):
124+
# DBESDK transformers will raise an exception before this is called
123125
raise NotImplementedError("batch_execute_statement response handling is not implemented")
124126

125127
def delete_item_response(self, delete_item_response):
@@ -129,10 +131,12 @@ def execute_statement_request(self, execute_statement_request):
129131
return self.boto3_converter.ExecuteStatementInput(execute_statement_request)
130132

131133
def execute_statement_response(self, execute_statement_response):
134+
# DBESDK transformers will raise an exception before this is called
132135
raise NotImplementedError("execute_statement response handling is not implemented")
133136

134137
def execute_transaction_request(self, execute_transaction_request):
135138
return self.boto3_converter.ExecuteTransactionInput(execute_transaction_request)
136139

137140
def execute_transaction_response(self, execute_transaction_response):
141+
# DBESDK transformers will raise an exception before this is called
138142
raise NotImplementedError("execute_transaction response handling is not implemented")

DynamoDbEncryption/runtimes/python/src/aws_dbesdk_dynamodb/internal/resource_to_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,21 @@ def batch_execute_statement_request(self, batch_execute_statement_request):
134134
return self.boto3_converter.BatchExecuteStatementInput(batch_execute_statement_request)
135135

136136
def batch_execute_statement_response(self, batch_execute_statement_response):
137+
# DBESDK transformers will raise an exception before this is called
137138
raise NotImplementedError("batch_execute_statement response handling is not implemented")
138139

139140
def execute_statement_request(self, execute_statement_request):
140141
return self.boto3_converter.ExecuteStatementInput(execute_statement_request)
141142

142143
def execute_statement_response(self, execute_statement_response):
144+
# DBESDK transformers will raise an exception before this is called
143145
raise NotImplementedError("execute_statement response handling is not implemented")
144146

145147
def execute_transaction_request(self, execute_transaction_request):
146148
return self.boto3_converter.ExecuteTransactionInput(execute_transaction_request)
147149

148150
def execute_transaction_response(self, execute_transaction_response):
151+
# DBESDK transformers will raise an exception before this is called
149152
raise NotImplementedError("execute_transaction response handling is not implemented")
150153

151154
def scan_response(self, scan_response):
@@ -161,6 +164,7 @@ def put_item_response(self, put_item_response):
161164
return self.boto3_converter.PutItemOutput(put_item_response)
162165

163166
def update_item_response(self, update_item_response):
167+
# DBESDK transformers will raise an exception before this is called
164168
raise NotImplementedError("update_item response handling is not implemented")
165169

166170
def delete_item_response(self, delete_item_response):

DynamoDbEncryption/runtimes/python/test/requests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ def basic_batch_execute_statement_request_ddb():
371371
base = base_batch_execute_statement_request()
372372
return base
373373

374+
374375
# Dict format request functions
375376

376377

0 commit comments

Comments
 (0)