Python se atribuição de condição em uma linha

variable = value1 if condition.is_met() else value2
Abstraction Mage