Relative Content

Tag Archive for airflow

Pass Airflow Variables to Task

Is there an accepted best practice for passing or accessing encrypted Airflow variables/connections in modules executed during the DagRun? Is passing it as an argument to the PythonOperator with op_kwargs sufficient?

How to apply changes to Airflow job_heartbeat_sec scheduler variable

So I’ve updated the value of job_heartbeat_sec in the [scheduler] section of airflow.cfg. I stopped and restarted the scheduler after updating the value of the variable. I expected the /health endpoint of the Webserver UI to only update the heartbeat timestamp every 20 seconds, but it is still using the default 5.