potiuk commented on code in PR #38531:
URL: https://github.com/apache/airflow/pull/38531#discussion_r1540962108
##########
airflow/operators/python.py:
##########
@@ -548,9 +558,9 @@ class
PythonVirtualenvOperator(_BasePythonVirtualenvOperator):
"requirements file" as specified by pip.
:param python_version: The Python version to run the virtual environment
with. Note that
both 2 and 2.7 are acceptable forms.
- :param use_dill: Whether to use dill to serialize
- the args and result (pickle is default). This allow more complex types
- but requires you to include dill in your requirements.
+ :param use_cloudpickle: Whether to use cloudpickle to serialize
Review Comment:
Here -the thing is that `dill` should remain a viable and documented option.
I do not think it should be `deprecated` - it should be **parallell** to
cloudpickle, both should rely on optional extra/dependencies installed.
--
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]