You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2026/05/08 05:39:37 UTC

Re: [PR] Fix task_defer method with non-JSON next_kwargs in TaskInstance [airflow]

uranusjr commented on code in PR #64714:
URL: https://github.com/apache/airflow/pull/64714#discussion_r3206520021


##########
airflow-core/src/airflow/models/taskinstance.py:
##########
@@ -1633,7 +1633,10 @@ def defer_task(self, session: Session = NEW_SESSION) -> bool:
             assert isinstance(self.task, Operator)
 
         if start_trigger_args := self.start_trigger_args:
+            from airflow.sdk.serde import serialize as serde_serialize

Review Comment:
   I’m not comfortable importing sdk here; Kaxil knows more context and can make a better decision.



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org