Run All Cells Notebook Implementation (#4713)

* runAllCells API

* add comment

* more run cells fixes

* Add integration test

* Add multiple cell SQL notebook test

* Comment out python tests as they fail in the lab

* remove unused imports

* PR comments

* Remove localize

* Return true instead of promise.resolve(true)
This commit is contained in:
Chris LaFreniere
2019-04-02 16:47:00 -07:00
committed by GitHub
parent 219dfe66d0
commit 07166fb3cd
13 changed files with 165 additions and 11 deletions

View File

@@ -4035,7 +4035,11 @@ declare module 'azdata' {
runCell(cell?: NotebookCell): Thenable<boolean>;
/**
* Clears the outputs of all code cells in a Notebook
* Kicks off execution of all code cells. Thenable will resolve only when full execution of all cells is completed.
*/
runAllCells(): Thenable<boolean>;
/** Clears the outputs of all code cells in a Notebook
* @return A promise that resolves with a value indicating if the outputs are cleared or not.
*/
clearAllOutputs(): Thenable<boolean>;