Skip to content

Commit 07e59fe

Browse files
committed
remove unnecessary base logic
1 parent d1a6abc commit 07e59fe

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/notebooks/deepnote/converters/inputConverters.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,8 @@ export abstract class BaseInputBlockConverter<T extends z.ZodObject> implements
5555
logger.error('Error parsing deepnote input metadata', deepnoteMetadataResult.error);
5656
}
5757

58-
// Extract the variable name from metadata
59-
const variableName = deepnoteMetadataResult.success
60-
? (deepnoteMetadataResult.data as { deepnote_variable_name?: string }).deepnote_variable_name || ''
61-
: '';
62-
6358
// Create a code cell with Python language showing just the variable name
64-
const cell = new NotebookCellData(NotebookCellKind.Code, `# ${variableName}`, 'python');
59+
const cell = new NotebookCellData(NotebookCellKind.Code, '', 'plaintext');
6560

6661
return cell;
6762
}

0 commit comments

Comments
 (0)