I look at someone else's code, and I don’t know what this function is, or rather its 2nd line, where you can read about such constructions? And how does it work?
def get_biggest_bar(bars): result = max(bars, key=lambda tmp: tmp.get("SeatsCount", float('inf'))) return result['Name']