VladaZakharova commented on code in PR #38531:
URL: https://github.com/apache/airflow/pull/38531#discussion_r1549962879
##########
airflow/operators/python.py:
##########
@@ -416,8 +418,16 @@ def __init__(
**kwargs,
)
self.string_args = string_args or []
- self.use_dill = use_dill
- self.pickling_library = dill if self.use_dill else pickle
+ if use_dill:
+ warnings.warn(
+ "The 'use_dill' parameter is deprecated and will be removed
after 01.10.2024. Please use "
+ "'use_cloudpickle' instead. ",
+ AirflowProviderDeprecationWarning,
+ stacklevel=2,
+ )
Review Comment:
Yes, so after Jarek's comment I have removed all the deprecations, so now we
can accept both parameters
--
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]