@@ -51,18 +51,18 @@ export abstract class BaseInputBlockConverter<T extends z.ZodObject> implements
5151
5252 convertToCell ( block : DeepnoteBlock ) : NotebookCellData {
5353 const deepnoteJupyterRawContentResult = z . string ( ) . safeParse ( block . metadata ?. [ DEEPNOTE_VSCODE_RAW_CONTENT_KEY ] ) ;
54- const deepnoteBigNumberMetadataResult = this . schema ( ) . safeParse ( block . metadata ) ;
54+ const deepnoteMetadataResult = this . schema ( ) . safeParse ( block . metadata ) ;
5555
56- if ( deepnoteBigNumberMetadataResult . error != null ) {
57- console . error ( 'Error parsing deepnote big number metadata:' , deepnoteBigNumberMetadataResult . error ) ;
56+ if ( deepnoteMetadataResult . error != null ) {
57+ console . error ( 'Error parsing deepnote input metadata:' , deepnoteMetadataResult . error ) ;
5858 console . debug ( 'Metadata:' , JSON . stringify ( block . metadata ) ) ;
5959 }
6060
6161 const configStr = deepnoteJupyterRawContentResult . success
6262 ? deepnoteJupyterRawContentResult . data
63- : deepnoteBigNumberMetadataResult . success
64- ? JSON . stringify ( deepnoteBigNumberMetadataResult . data , null , 2 )
65- : JSON . stringify ( this . defaultConfig ( ) ) ;
63+ : deepnoteMetadataResult . success
64+ ? JSON . stringify ( deepnoteMetadataResult . data , null , 2 )
65+ : JSON . stringify ( this . defaultConfig ( ) , null , 2 ) ;
6666
6767 const cell = new NotebookCellData ( NotebookCellKind . Code , configStr , 'json' ) ;
6868 console . log ( cell ) ;
0 commit comments