MCPcopy Create free account
hub / github.com/deepnote/deepnote / makeDeepnoteFile

Function makeDeepnoteFile

packages/cli/src/commands/run.test.ts:2807–2817  ·  view source on GitHub ↗
(blocks: ReturnType<typeof makeInputBlock>[])

Source from the content-addressed store, hash-verified

2805 }
2806
2807 function makeDeepnoteFile(blocks: ReturnType<typeof makeInputBlock>[]) {
2808 return {
2809 version: '1',
2810 metadata: { createdAt: '2026-01-01T00:00:00Z' },
2811 project: {
2812 id: 'test-project',
2813 name: 'test',
2814 notebooks: [{ id: 'nb-1', name: 'Notebook 1', blocks }],
2815 },
2816 }
2817 }
2818
2819 it('patches deepnote_variable_value for matching input blocks', () => {
2820 const file = makeDeepnoteFile([makeInputBlock('my_var', 'saved_value')])

Callers 1

run.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected