You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DAG code syntax highlighting is incorrect with f-strings #67986
When using operators with f-strings, the code syntax highlighting is incorrect.
An example to reproduce the issue
table_name = "example_catalog.example_schema.example_table"
validate_data = DatabricksSqlOperator(
task_id="validate_data",
sql=f"""
SELECT CASE WHEN COUNT(*) = 0 THEN 1 ELSE 0 END
FROM {table_name}
WHERE ds = '{{{{ ds }}}}'
""",
databricks_conn_id="databricks_default",
)
Activity
Revanth14 commentedon Jun 4, 2026
I can work on this, will raise PR shortly.
Revanth14 commentedon Jun 4, 2026
opened #68026 to fix this issue.