Skip to content

Commit c30bbdd

Browse files
authored
docs(idempotency): fix highlight and import path (#4154)
1 parent be21b9a commit c30bbdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/utilities/idempotency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ You can set up a `response_hook` in the `IdempotentConfig` class to manipulate t
950950

951951
=== "Using an Idempotent Response Hook"
952952

953-
```python hl_lines="18 20 23 32"
953+
```python hl_lines="19 21 27 34"
954954
--8<-- "examples/idempotency/src/working_with_response_hook.py"
955955
```
956956

examples/idempotency/src/working_with_response_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
IdempotencyConfig,
99
idempotent_function,
1010
)
11-
from aws_lambda_powertools.utilities.idempotency.persistence.base import (
11+
from aws_lambda_powertools.utilities.idempotency.persistence.datarecord import (
1212
DataRecord,
1313
)
1414
from aws_lambda_powertools.utilities.typing import LambdaContext

0 commit comments

Comments
 (0)