hussein-awala commented on code in PR #30692:
URL: https://github.com/apache/airflow/pull/30692#discussion_r1169379059
##########
airflow/operators/python.py:
##########
@@ -518,7 +518,13 @@ def __init__(
self.python_version = python_version
self.system_site_packages = system_site_packages
self.pip_install_options = pip_install_options
- self.skip_exit_code = skip_exit_code
+ self.skip_on_exit_code = (
+ skip_on_exit_code
+ if isinstance(skip_on_exit_code, list)
Review Comment:
I like the idea of the `Container` type, usually I use `Iterable`, but
`Container` is more suitable since we are using `__contains__` and not
`__iter__`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]