Skip to content

Commit 7eb2198

Browse files
author
Tom McCarthy
committed
chore: fix indentation in examples
1 parent 7286396 commit 7eb2198

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/utilities/idempotency.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ with a truthy value. If you prefer setting this for specific tests, and are usin
795795

796796
@idempotent(persistence_store=persistence_layer)
797797
def handler(event, context):
798-
print('expensive operation')
798+
print('expensive operation')
799799
return {
800800
"payment_id": 12345,
801801
"message": "success",
@@ -819,7 +819,7 @@ To test with [DynamoDB Local](https://docs.aws.amazon.com/amazondynamodb/latest/
819819
resource = boto3.resource("dynamodb", endpoint_url='http://localhost:8000')
820820
table = resource.Table(app.persistence_layer.table_name)
821821
app.persistence_layer.table = table
822-
822+
823823
result = app.handler({'testkey': 'testvalue'}, {})
824824
assert result['payment_id'] == 12345
825825
```
@@ -835,7 +835,7 @@ To test with [DynamoDB Local](https://docs.aws.amazon.com/amazondynamodb/latest/
835835

836836
@idempotent(persistence_store=persistence_layer)
837837
def handler(event, context):
838-
print('expensive operation')
838+
print('expensive operation')
839839
return {
840840
"payment_id": 12345,
841841
"message": "success",
@@ -874,7 +874,7 @@ This means it is possible to pass a mocked Table resource, or stub various metho
874874

875875
@idempotent(persistence_store=persistence_layer)
876876
def handler(event, context):
877-
print('expensive operation')
877+
print('expensive operation')
878878
return {
879879
"payment_id": 12345,
880880
"message": "success",

0 commit comments

Comments
 (0)