vikramkoka opened a new pull request, #67930:
URL: https://github.com/apache/airflow/pull/67930
Example DAG in Common.ai provider
Had to fix incompatibility introduced through PR 67644
Pydantic models defined in DAG files (SubQuestion, AnalysisReport) are not
in Airflow's allowed_deserialization_classes, so passing them through XCom
between tasks fails with an ImportError. Convert structured output to plain
dicts at the task boundary via model_dump() so downstream tasks can deserialize
safely.
<!-- SPDX-License-Identifier: Apache-2.0
https://www.apache.org/licenses/LICENSE-2.0 -->
---
##### Was generative AI tooling used to co-author this PR?
- [ x] Yes (please specify the tool below)
<!--
Generated-by: [Claude] following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
-->
---
--
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]