From 7baf030125e6c0f8cf90c32f81621fe801a1d68d Mon Sep 17 00:00:00 2001 From: Themis Valtinos <73662635+themisvaltinos@users.noreply.github.com> Date: Thu, 5 Jun 2025 12:09:51 +0300 Subject: [PATCH] Fix: Escape backslash to prevent syntax error in string --- sqlmesh/core/plan/explainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlmesh/core/plan/explainer.py b/sqlmesh/core/plan/explainer.py index 7001c0cc0f..32d80b5dc5 100644 --- a/sqlmesh/core/plan/explainer.py +++ b/sqlmesh/core/plan/explainer.py @@ -195,7 +195,7 @@ def visit_backfill_stage(self, stage: stages.BackfillStage) -> Tree: tree.add(model_tree) else: - tree.add(f"{display_name} \[standalone audit]") + tree.add(f"{display_name} \\[standalone audit]") return tree def visit_migrate_schemas_stage(self, stage: stages.MigrateSchemasStage) -> Tree: