Construct a new code cell with optional original cell content.
ReadonlycontentA signal emitted when the state of the model changes.
ReadonlysharedThe code cell shared model
ProtectedstandaloneWhether the model should disposed the shared model on disposal or not.
ReadonlystateA signal emitted when a model state changes.
The execution count of the cell.
The code cell's prompt number. Will be null if the cell has not been run.
The execution state of the cell.
The code cell's state.
The id for the cell.
Whether the cell is dirty or not.
A cell is dirty if it is output is not empty and does not result of the input code execution.
Public Set whether the cell is dirty or not.
Whether the model is disposed.
The metadata associated with the cell.
Signal emitted when cell metadata changes.
A mime type of the model.
A signal emitted when a mimetype changes.
The cell outputs.
Get the selections for the model.
The trusted state of the model.
Whether the cell is trusted.
The type of the cell.
ProtectedonProtectedonHandle a change to the cell outputs modelDB and reflect it in the shared model.
Handle a change to the trusted state.
An implementation of a code cell Model.