Skip to content

Conversation

@hussein-awala
Copy link
Member

Rename the argument skip_exit_code to skip_on_exit_code in PythonVirtualenvOperator and allow providing multiple codes.

@hussein-awala hussein-awala added this to the Airflow 2.7.0 milestone Apr 18, 2023
@hussein-awala hussein-awala requested a review from uranusjr April 18, 2023 00:21
@hussein-awala hussein-awala merged commit 553fb1f into apache:main Apr 18, 2023
wookiist pushed a commit to wookiist/airflow that referenced this pull request Apr 19, 2023
…le codes (apache#30692)

* rename skip_exit_code to skip_on_exit_code and allow providing multiple codes

* replace list type by Container
potiuk added a commit to potiuk/airflow that referenced this pull request Apr 19, 2023
The change #apache#30690 and apache#30692 added skip_on_exit_code to the
PythonVirtualenvOperator, but it skipped the - very closely related
- ExternalPythonOperator.

This change brings the same functionality to ExternalPythonOperator,
moves it to the base class for both operators, it also adds
separate Test class for ExternalPythonOperator, also introducing
a common base class and moving the test methods that are common
to both operators there.
potiuk added a commit that referenced this pull request Apr 19, 2023
The change ##30690 and #30692 added skip_on_exit_code to the
PythonVirtualenvOperator, but it skipped the - very closely related
- ExternalPythonOperator.

This change brings the same functionality to ExternalPythonOperator,
moves it to the base class for both operators, it also adds
separate Test class for ExternalPythonOperator, also introducing
a common base class and moving the test methods that are common
to both operators there.
@eladkal eladkal modified the milestones: Airflow 2.7.0, Airflow 2.6.0 Apr 21, 2023
ephraimbuddy pushed a commit that referenced this pull request Apr 21, 2023
…le codes (#30692)

* rename skip_exit_code to skip_on_exit_code and allow providing multiple codes

* replace list type by Container

(cherry picked from commit 553fb1f)
ephraimbuddy pushed a commit that referenced this pull request Apr 21, 2023
The change ##30690 and #30692 added skip_on_exit_code to the
PythonVirtualenvOperator, but it skipped the - very closely related
- ExternalPythonOperator.

This change brings the same functionality to ExternalPythonOperator,
moves it to the base class for both operators, it also adds
separate Test class for ExternalPythonOperator, also introducing
a common base class and moving the test methods that are common
to both operators there.

(cherry picked from commit 5ed4669)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:new-feature Changelog: New Features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants