Skip to content

Commit 45fa58c

Browse files
committed
docs: mypy ignore for fictious sample
1 parent df9e8a3 commit 45fa58c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: examples/batch_processing/src/getting_started_dynamodb.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
@tracer.capture_method
2020
def record_handler(record: DynamoDBRecord):
21-
logger.info(record.dynamodb.new_image)
22-
payload: dict = json.loads(record.dynamodb.new_image.get("Message"))
21+
logger.info(record.dynamodb.new_image) # type: ignore[union-attr]
22+
payload: dict = json.loads(record.dynamodb.new_image.get("Message")) # type: ignore[union-attr,arg-type]
2323
logger.info(payload)
2424
...
2525

0 commit comments

Comments
 (0)