Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

chore(sql-parser): mark `commentLines` as readonly in SQLMetadata (#6846)

Trevor Manz4d37488c9450
diff --git a/packages/smart-cells/src/parsers/sql-parser.ts b/packages/smart-cells/src/parsers/sql-parser.ts
index 1d11b6eca0..9b39798cc1 100644
--- a/packages/smart-cells/src/parsers/sql-parser.ts
+++ b/packages/smart-cells/src/parsers/sql-parser.ts
@@ -19,7 +19,7 @@ import {
export interface SQLMetadata {
dataframeName: string;
quotePrefix: QuotePrefixKind;
- commentLines: string[];
+ commentLines: readonly string[];
showOutput: boolean;
engine: string;
}