Skip to content

Commit 25b1bfe

Browse files
committed
style: remove long receiptHandle example and apply formatting
Remove extremely long receiptHandle example as requested by leandrodamascena and apply ruff formatting to fix CI issues.
1 parent 16f944c commit 25b1bfe

File tree

1 file changed

+1
-4
lines changed
  • aws_lambda_powertools/utilities/parser/models

1 file changed

+1
-4
lines changed

aws_lambda_powertools/utilities/parser/models/sqs.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ class SqsRecordModel(BaseModel):
113113
examples=[
114114
"AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...",
115115
"AQEBzWwaftRI0KuVm4tP+/7q1rGgNqicHq...",
116-
"AQEBl1pqxv+ZHkarVAWZUyWgj2mmqJGLBTo6YFOi/bw1QpBTpJBGJPLOTZrjKztKIbAB8EXkG7zHlbkn+Ze/AHMKKuhST9azHu8LyF4Ffu9uPkZc5xzggXlfFBWH3TUKyV+F5Obaj3esyX8YfM/zfgjbRuu5nc2tfPhvaSYEaTZsdMpzIB5tyKvHxAltLxK7upRHeoT768M9UrFYswarFTBn8piDbnsPsUhi8Q9G4Q4xSI0fLQANmryBsRJIzGQTVxenDad+MJ7XEL+hD3p2DmW+ycvv6WD7bdedqQuroQG8+ca1Dz7s3CBbXw9ZZnUziPa7LH1j1Lky5bAxpNF+BlurRS9pFBnomhwpylrGxtGfaEmUW1G7jnrG97sZNOLOFUykbQgroZPXmjzMBdvtgq9ZmQfCch3LOXN267+PKc56VR4=",
117116
],
118117
)
119118
body: Union[str, Type[BaseModel], BaseModel] = Field(
@@ -170,7 +169,5 @@ class SqsRecordModel(BaseModel):
170169
class SqsModel(BaseModel):
171170
Records: Sequence[SqsRecordModel] = Field(
172171
description="A list of SQS message records included in the event.",
173-
examples=[
174-
[{"messageId": "059f36b4-87a3-44ab-83d2-661975830a7d", "body": "Test message."}]
175-
],
172+
examples=[[{"messageId": "059f36b4-87a3-44ab-83d2-661975830a7d", "body": "Test message."}]],
176173
)

0 commit comments

Comments
 (0)