GitHub user Snaptonis closed the discussion with a comment: Serialization issues with external_python decorator
I figured it out. I checked the op_args for the task using the expanded task result and in fact they were `"LazyXComSequence(<unevaluated length>)"` which cannot be serialized. So I added a normal @task() that takes that XCom and returns it with list(xcom) and pass that to the next task. Now it works. Thanks everyone! GitHub link: https://github.com/apache/airflow/discussions/71281#discussioncomment-17963140 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
