Skip to content

Commit 002cc54

Browse files
committed
chore: lint
1 parent 89929b3 commit 002cc54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda_powertools/utilities/parser/envelopes/event_bridge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ def parse(self, event: Dict[str, Any], schema: BaseModel) -> BaseModel:
3636
"""
3737
try:
3838
parsed_envelope = EventBridgeSchema(**event)
39+
return self._parse(parsed_envelope.detail, schema)
3940
except ValidationError as e:
4041
raise SchemaValidationError("EventBridge input doesn't conform with schema") from e
41-
return self._parse(parsed_envelope.detail, schema)

0 commit comments

Comments
 (0)