You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/11/10 23:05:59 UTC
[GitHub] [airflow] uranusjr commented on issue #27079: Option to deserialize JSON from last log line in BashOperator and DockerOperator before sending to XCom
uranusjr commented on issue #27079:
URL: https://github.com/apache/airflow/issues/27079#issuecomment-1311020592
If the goal is to make Jinja2 templating simpler (there’s no issue if it’s taskflow), the simplest way may be to add a built-in macro for this?
```jinja2
{{ json_loads(xcom_pull('task_a'))['key2'] }}
```
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org