apache/airflow

Add `execute_tasks_new_python_interpreter` argument to `PythonOperator`

Open

#41.093 geöffnet am 29. Juli 2024

Auf GitHub ansehen
 (5 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)Python (16.781 Forks)batch import
area:coregood first issuekind:featureprovider:standard

Repository-Metriken

Stars
 (44.809 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 18h) (834 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide