ashb commented on code in PR #46677:
URL: https://github.com/apache/airflow/pull/46677#discussion_r1958030302
##########
task_sdk/src/airflow/sdk/api/client.py:
##########
@@ -152,14 +152,14 @@ def heartbeat(self, id: uuid.UUID, pid: int):
def defer(self, id: uuid.UUID, msg):
"""Tell the API server that this TI has been deferred."""
- body = TIDeferredStatePayload(**msg.model_dump(exclude_unset=True))
+ body = TIDeferredStatePayload(**msg.model_dump(exclude_unset=True,
exclude={"type"}))
Review Comment:
Yup
--
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]