Skip to content

Conversation

@kylestratis
Copy link

If one is using a NoSQL store like DynamoDB to populate tables, it's possible that an expected field doesn't exist on a query result. Adding the default value parameter to getattr() prevents this from throwing an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant