Cell Statuses

In [e84c3f]:
from IPython.display import Image
Image:
IPython.core.display.Image
In [b87ea7]:
Success =         Image(url='https://cdn.rawgit.com/colinjbrown/dfkernel/29b7b020/dfkernel/resources/df-notebook/img/fa/check-circle.svg')
SavedSuccess =    Image(url='https://cdn.rawgit.com/colinjbrown/dfkernel/29b7b020/dfkernel/resources/df-notebook/img/fa/check-circle-yellow.svg')
Running =         Image(url='https://cdn.rawgit.com/colinjbrown/dfkernel/29b7b020/dfkernel/resources/df-notebook/img/fa/clock.svg')
Unverified =      Image(url='https://cdn.rawgit.com/colinjbrown/dfkernel/29b7b020/dfkernel/resources/df-notebook/img/fa/exclamation-circle.svg')
NewCell =         Image(url='https://cdn.rawgit.com/colinjbrown/dfkernel/29b7b020/dfkernel/resources/df-notebook/img/fa/plus-circle.svg')
EditedNewCell =   Image(url='https://cdn.rawgit.com/colinjbrown/dfkernel/29b7b020/dfkernel/resources/df-notebook/img/fa/plus-circle-yellow.svg')
Error =           Image(url='https://cdn.rawgit.com/colinjbrown/dfkernel/29b7b020/dfkernel/resources/df-notebook/img/fa/times-circle.svg')
UnverifiedError = Image(url='https://cdn.rawgit.com/colinjbrown/dfkernel/29b7b020/dfkernel/resources/df-notebook/img/fa/times-circle-yellow.svg')
Success,SavedSuccess,Running,Unverified,NewCell,EditedNewCell,Error,UnverifiedError
Success:
SavedSuccess:
Running:
Unverified:
NewCell:
EditedNewCell:
Error:
UnverifiedError:

Success:

This represents the best case for a cell, this represents a cell that has had no change to it’s text and everything upstream of it is also in this state.

SavedSuccess:

The last run of this cell was successful, there’s a good chance that this will succeed too, but if however you were missing a file that the original author had the cell would fail.

Running:

This state is only reached when a cell continues to run, as our UUIDs are persistent we’ve gotten rid of the typical [*] state one would see in a vanilla notebook and replaced it with this icon as a feedback mechanism for users.

Unverified:

This represents a stale state, this state can be reached by a number of ways. If a user were to edit an upstream cell not only would we mark that cell as stale because that cell has not yet been executed, but everything that is downstream from that cell has reached a stale state as they depend on that cell.

NewCell:

A new empty cell.

EditedNewCell:

A new cell that has had it’s contents modified.

Error:

The opposite of a Success, this is a verified error state where the error has happened locally.

UnverifiedError:

Most of the time an error is an error, however that is not always the case if whoever saved the file was missing a library and you have it. Without knowing the cause of an error we must mark it as unverified when the Notebook is saved out.