File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed
DynamoDbEncryption/runtimes/python/src/aws_dbesdk_dynamodb/encrypted Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -633,6 +633,9 @@ def _client_operation_logic(
633
633
if self ._expect_standard_dictionaries :
634
634
dbesdk_response = output_item_to_dict_transform_method (dbesdk_response )
635
635
636
+ # Clean up the expression builder for the next operation
637
+ self ._resource_shape_to_client_shape_converter .expression_builder .reset ()
638
+
636
639
return dbesdk_response
637
640
638
641
@property
Original file line number Diff line number Diff line change @@ -187,6 +187,9 @@ def _paginate_request(
187
187
dbesdk_response = output_item_to_dict_transform_method (dbesdk_response )
188
188
189
189
yield dbesdk_response
190
+
191
+ # Clean up the expression builder for the next operation
192
+ self ._resource_shape_to_client_shape_converter .expression_builder .reset ()
190
193
191
194
@property
192
195
def _boto_client_attr_name (self ) -> str :
Original file line number Diff line number Diff line change @@ -297,6 +297,9 @@ def _resource_operation_logic(
297
297
# (e.g. `ConsumedCapacity`)
298
298
dbesdk_response = self ._copy_sdk_response_to_dbesdk_response (sdk_output , dbesdk_response )
299
299
300
+ # Clean up the expression builder for the next operation
301
+ self ._resource_shape_to_client_shape_converter .expression_builder .reset ()
302
+
300
303
return dbesdk_response
301
304
302
305
@property
Original file line number Diff line number Diff line change @@ -364,6 +364,9 @@ def _table_operation_logic(
364
364
# Copy any missing fields from the SDK output to the response (e.g. `ConsumedCapacity`)
365
365
dbesdk_response = self ._copy_sdk_response_to_dbesdk_response (sdk_output , dbesdk_response )
366
366
367
+ # Clean up the expression builder for the next operation
368
+ self ._resource_shape_to_client_shape_converter .expression_builder .reset ()
369
+
367
370
return dbesdk_response
368
371
369
372
@property
You can’t perform that action at this time.
0 commit comments