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/03/11 18:53:18 UTC
[GitHub] [airflow] uranusjr commented on issue #22152: render_template_as_native_obj=True in DAG constructor prevents failure e-mail from sending
uranusjr commented on issue #22152:
URL: https://github.com/apache/airflow/issues/22152#issuecomment-1065396889
Would you fancy a pull request please? The fix should be fairly straightforward, by changing the offending line in `render_template` to this:
```python
return "".join((str(n) for n in nodes)
```
Add a test can be added to ensure `render_template` works with non-str nodes.
--
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