I have following function:
sorted(
[
#...
],
key=lambda x: (
x.get("order", {}).get("data") is None,
x.get("order", {}).get("data"),
),
)
Can I use assignment :=
here to store x.get("order", {}).get("data")
in variable?