vchiapaikeo commented on code in PR #28942:
URL: https://github.com/apache/airflow/pull/28942#discussion_r1071046411
##########
airflow/providers/cncf/kubernetes/python_kubernetes_script.jinja2:
##########
@@ -17,7 +17,7 @@
under the License.
-#}
-import {{ pickling_library }}
+import json
Review Comment:
Since we have to write out json (for K8s xcom output), I thought reading in
json would be simpler. I’m realizing now though that users could pass in a
dataclass, function, or something else that can’t be serialized via json so
will switch back to pickle here.
--
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]