We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5ddef0 commit eac2ff9Copy full SHA for eac2ff9
task_sdk/src/airflow/sdk/execution_time/task_runner.py
@@ -195,13 +195,12 @@ def xcom_pull(
195
if TYPE_CHECKING:
196
assert isinstance(msg, XComResult)
197
198
- value = msg.value
199
- if value is not None:
+ if msg.value is not None:
200
from airflow.models.xcom import XCom
201
202
# TODO: Move XCom serialization & deserialization to Task SDK
203
# https://github.com/apache/airflow/issues/45231
204
- return XCom.deserialize_value(value)
+ return XCom.deserialize_value(msg) # type: ignore[arg-type]
205
return default
206
207
def xcom_push(self, key: str, value: Any):
0 commit comments