Skip to content

Commit

Permalink
docs(idempotency): fix highlight and import path (#4154)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfonseca authored Apr 18, 2024
1 parent be21b9a commit c30bbdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/utilities/idempotency.md
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ You can set up a `response_hook` in the `IdempotentConfig` class to manipulate t

=== "Using an Idempotent Response Hook"

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

Expand Down
2 changes: 1 addition & 1 deletion examples/idempotency/src/working_with_response_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
IdempotencyConfig,
idempotent_function,
)
from aws_lambda_powertools.utilities.idempotency.persistence.base import (
from aws_lambda_powertools.utilities.idempotency.persistence.datarecord import (
DataRecord,
)
from aws_lambda_powertools.utilities.typing import LambdaContext
Expand Down

0 comments on commit c30bbdd

Please sign in to comment.