Skip to content

Commit

Permalink
docs(event_sources): fix DynamoDB stream event docstring (#2468)
Browse files Browse the repository at this point in the history
  • Loading branch information
abbasyadollahi authored Jun 16, 2023
1 parent 80dfdd0 commit c1ce6fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws_lambda_powertools/utilities/data_classes/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, data: Dict[str, Any], json_deserializer: Optional[Callable] =
data : Dict[str, Any]
Lambda Event Source Event payload
json_deserializer : Callable, optional
function to deserialize `str`, `bytes`, bytearray` containing a JSON document to a Python `obj`,
function to deserialize `str`, `bytes`, `bytearray` containing a JSON document to a Python `obj`,
by default json.loads
"""
self._data = data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def deserialize(self, value: Dict) -> Any:
-------- ------
{'NULL': True} None
{'BOOL': True/False} True/False
{'N': str(value)} str(value)
{'N': Decimal(value)} Decimal(value)
{'S': string} string
{'B': bytes} bytes
{'NS': [str(value)]} set([str(value)])
Expand Down

0 comments on commit c1ce6fa

Please sign in to comment.