공부
[python] jinja2 + f-string
승가비
2022. 12. 6. 13:40
728x90
f"{{{{jinja}}}}_{python}"
https://stackoverflow.com/questions/63788781/use-python-f-strings-and-jinja-at-the-same-time
Use Python f-strings and Jinja at the same time
I am trying to write a concise SQL query string in Python, to make use of both f-strings and Jinja at the same time. Background info: I am writing a query used in Airflow. This did not work: query_...
stackoverflow.com
728x90