Skip to content

Commit 574a389

Browse files
author
Ran Isenberg
committed
feature: Kafka Parser support
1 parent 70de885 commit 574a389

File tree

1 file changed

+2
-2
lines changed
  • aws_lambda_powertools/utilities/parser/envelopes

1 file changed

+2
-2
lines changed

aws_lambda_powertools/utilities/parser/envelopes/kafka.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def parse(self, data: Optional[Union[Dict[str, Any], Any]], model: Type[Model])
2929
3030
Returns
3131
-------
32-
Any
33-
Parsed detail payload with model provided
32+
List
33+
List of records parsed with model provided
3434
"""
3535
logger.debug(f"Parsing incoming data with Kafka event model {KafkaEventModel}")
3636
parsed_envelope: KafkaEventModel = KafkaEventModel.parse_obj(data)

0 commit comments

Comments
 (0)