I have a little problem, I want to do the typical conditional like
setting_x = Variable.get('setting_x')
variable = setting_x if setting_x else 0
But since the Airflow model throws an exception when the key doesn't exist is impossible to do it without trycatching and that's not very cool.
Is there any solution that I'm missing to solve that case? I've searched in the whole internet of course, but without a solution yet.
Thanks, Angel