You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2023/09/11 07:01:04 UTC
[GitHub] [airflow] uranusjr commented on pull request #34234: added default_run_id parameter
uranusjr commented on PR #34234:
URL: https://github.com/apache/airflow/pull/34234#issuecomment-1713284465
This can up several times in the future but the topic is quite a bit nuanced. `create_dagrun` is run in the scheduler. Since the scheduler needs to run continuously and handles the global state, the real DAG (which contains arbitrary Python code and is unsecure) is not actually loaded into the process. This function therefore cannot be run correctly for scheduled DAGs. And while we can load this function into the scheduler process, we _don’t want to_ because an arbitrary Python function can do literally anything, and introducing a backdoor like this is unacceptable for many Airflow users.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org