apache/airflow

Add `execute_tasks_new_python_interpreter` argument to `PythonOperator`

Aperta

#41.093 aperta il 29 lug 2024

 (5 commenti) (3 reazioni) (0 assegnatari)Python (16.781 fork)batch import
area:coregood first issuekind:featureprovider:standard

Metriche repository

Star
 (44.809 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor