flask_table icon indicating copy to clipboard operation
flask_table copied to clipboard

Make _single_get more flexible for missing column data

Open kylestratis opened this issue 4 years ago • 0 comments

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.

kylestratis avatar Oct 30 '20 20:10 kylestratis