Python lambda modify list of dictionaries

I got sick of having to commit results from RethinkDB to memory then run through a loop to add a few extra fields before returning it to the browser. What follows is an in-line solution to this problem because I couldn’t find one anywhere online.

 

 

Dave

About David Parlevliet

Dave is long time developer with a passion toward teaching. He divides his time between his wife, her cat and his projects. He recently started using twitter so make sure to follow him!