Likes https://twitter.com/kylewmahan/status/1219878020686598144.
Hehe, here’s the minified version:
return {
“aa”: [
{
“b”: a.get(“c”, {}).get(“d”),
“e”: [f for f in a.get(“f”, [])],
}
for a in aa
]
}
(and don’t think it doesn’t hurt me that our style-guide prefers double-quotes over single)
#