You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When troubleshooting Lambdas, it is common to log the incoming Lambda Event object at the debug level.
Unfortunately, the Data Classes base class does not implement the __str__ method, so we are presented with only the class name and a memory location.
We should implement a __str__ method on DictWrapper to recursively generate a Dict to be presented as a string.
Some Data Classes will need to blacklist certain properties, as these contain sensitive data, such as credentials.
Use case
When troubleshooting Lambdas, it is common to log the incoming Lambda Event object at the debug level.
Unfortunately, the Data Classes base class does not implement the
__str__
method, so we are presented with only the class name and a memory location.We should implement a
__str__
method onDictWrapper
to recursively generate a Dict to be presented as a string.Some Data Classes will need to blacklist certain properties, as these contain sensitive data, such as credentials.
Solution/User Experience
PR incoming.
Alternative solutions
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: