Taragolis commented on code in PR #39270:
URL: https://github.com/apache/airflow/pull/39270#discussion_r1580556503


##########
airflow/operators/python.py:
##########
@@ -350,6 +343,36 @@ def get_tasks_to_skip():
         return condition
 
 
+def _load_pickle():
+    import pickle
+
+    return pickle
+
+
+def _load_dill():
+    try:
+        import dill
+    except ImportError:
+        raise AirflowException("Unable to import 'dill' make sure that it 
installed.")

Review Comment:
   > The bottom one seems clear enough? 
   
   Are you sure that it clear enough for everyone? It not something new when 
users asked (slack, github issues/discussions, stack overflow) I got 
"ModuleNotFoundError: No module named 'foobar'" what I should do?
   
   This one just give simple advice when the package do not 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]

Reply via email to