update airflow variable in dag code example Example: update airflow variable in dag Variable.set("column_number", int(column_number) + 1)