apache/airflow

Add `execute_tasks_new_python_interpreter` argument to `PythonOperator`

开放

#41,093 创建于 2024年7月29日

 (5 条评论) (3 个反应) (0 位负责人)Python (16,781 个派生)batch import
area:coregood first issuekind:featureprovider:standard

仓库指标

星标
 (44,809 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Description

Currently from my knowledge it is only possible to force all python tasks to execute in a new interpreter for every execution globally via this setting:

Would it be possible to add this argument to the PythonOperator so it is possible to control this behavior at the task level?

Use case/motivation

Related issues

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

贡献者指南