* Run a .deepnote file.
(filePath: string, options: ExecutionOptions = {})
| 147 | * Run a .deepnote file. |
| 148 | */ |
| 149 | async runFile(filePath: string, options: ExecutionOptions = {}): Promise<ExecutionSummary> { |
| 150 | const rawBytes = await readFile(filePath) |
| 151 | const content = decodeUtf8NoBom(rawBytes) |
| 152 | const file = deserializeDeepnoteFile(content) |
| 153 | return this.runProject(file, options) |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * Run a parsed DeepnoteFile. |
no test coverage detected