GayathriSrividya opened a new pull request, #67997:
URL: https://github.com/apache/airflow/pull/67997
closes #67986
Fix Dag code Monaco Python tokenization for escaped braces inside f-strings
(for example Jinja templates like '{{{{ ds }}}}' inside an f-string). The patch
adds escaped-brace rules before interpolation matching so highlighting no
longer leaks past the string boundary.
Also adds a unit test that verifies the tokenizer patch is applied to both
f-string states and remains idempotent.
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — GitHub Copilot (GPT-5.3-Codex)
Generated-by: GitHub Copilot (GPT-5.3-Codex) following
https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions
--
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]