Docs: Type mismatch for N
attributes in dynamo_db_stream_event.TypeDeserializer
#2462
Closed
1 task done
Labels
documentation
Improvements or additions to documentation
event_sources
Event Source Data Class utility
What were you searching in the docs?
I wasn't sure which type of issue this is, but felt like documentation was the most appropriate.
After fetching an
N
attribute from a DynamoDBStreamRecord
, I get aDecimal
object (as expected given the_deserialize_n
method), although thedeserialize
docstring indicates that it should be astr
.Is this related to an existing documentation section?
https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/aws_lambda_powertools/utilities/data_classes/dynamo_db_stream_event.py#L42
How can we improve?
Just need to update the
deserializer
docstring, easy fix.Before:
After:
Got a suggestion in mind?
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: