Skip to content

Commit 0fe00f6

Browse files
committed
Merge branch 'develop' into feat-event-handler-apigw
2 parents e7e8d59 + 5bce279 commit 0fe00f6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

aws_lambda_powertools/utilities/validation/validator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def handler(event, context):
132132

133133

134134
def validate(
135-
event: Dict,
135+
event: Any,
136136
schema: Dict,
137137
formats: Optional[Dict] = None,
138138
envelope: str = None,

docs/core/tracer.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Before your use this utility, your AWS Lambda function [must have permissions](h
2424
> Example using AWS Serverless Application Model (SAM)
2525
2626
=== "template.yml"
27-
```yaml hl_lines="7 10"
27+
```yaml hl_lines="6 9"
2828
Resources:
2929
HelloWorldFunction:
3030
Type: AWS::Serverless::Function
@@ -119,7 +119,8 @@ You can trace asynchronous functions and generator functions (including context
119119

120120

121121
=== "Async"
122-
```python hl_lines="8"
122+
123+
```python hl_lines="7"
123124
import asyncio
124125
import contextlib
125126
from aws_lambda_powertools import Tracer

0 commit comments

Comments
 (0)