dstandish commented on a change in pull request #19505:
URL: https://github.com/apache/airflow/pull/19505#discussion_r746694895



##########
File path: airflow/models/xcom.py
##########
@@ -97,7 +97,14 @@ def set(cls, key, value, task_id, dag_id, 
execution_date=None, run_id=None, sess
 
             execution_date = dag_run.execution_date
 
-        value = XCom.serialize_value(value)
+        value = XCom.serialize_value(
+            value=value,
+            key=key,
+            task_id=task_id,
+            dag_id=dag_id,
+            execution_date=execution_date,
+            run_id=run_id,
+        )

Review comment:
       @ashb with that in mind, for the _new_ signature, do you think 
`serialize_value` should just take `kwargs`, or should we add all these params?




-- 
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