potiuk commented on issue #27079:
URL: https://github.com/apache/airflow/issues/27079#issuecomment-1289182683
> The previous jinja template `{{ xcom_pull('task_a')['key2'] }}` is now
working in `task B`, since the XCom value is now a Python dictionnary.
Actually I think that could be made into a common "AbstractOperator" feature
when I think of it. We could add "deserialize_output" parameter so that any
opertor can use it. I think we should even deserialize it using yaml, because
then we will automatically handle both Yaml, and JSON (Yamlk is actually a 100%
compatible superset of JSON - every proper JSON content is also a valid YAML).
WDYT @uranusjr ? I think having it as common "operator" feature (disabled by
default) is quite a powerful feature that can maje a number of existing
operators much easier to work witth.
--
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]