MCPcopy Index your code
hub / github.com/deepnote/deepnote / unsupportedExtensionError

Function unsupportedExtensionError

packages/convert/src/load-runnable-file.ts:52–61  ·  view source on GitHub ↗
(ext: string)

Source from the content-addressed store, hash-verified

50}
51
52function unsupportedExtensionError(ext: string): LoadRunnableFileError {
53 return new LoadRunnableFileError(
54 `Unsupported file type: ${ext || '(no extension)'}\n\n` +
55 `Supported formats:\n` +
56 ` .deepnote - Deepnote project\n` +
57 ` .ipynb - Jupyter Notebook\n` +
58 ` .py - Percent format (# %%) or Marimo (@app.cell)\n` +
59 ` .qmd - Quarto document`
60 )
61}
62
63/**
64 * Parse and convert in-memory file content to a {@link LoadedRunnableFile}.

Callers 2

parseRunnableFileContentFunction · 0.85
loadRunnableFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected