Skip to content

Commit 9cce4ad

Browse files
author
Golf Player
committed
self.state now unnecessary
1 parent 5a2f861 commit 9cce4ad

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nbclient/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ def __init__(self, nb, km=None, **kw):
309309
}
310310

311311
def _update_state(self, new_state):
312-
self.state = new_state
313312
self.state_history.append([new_state, timestamp()])
314313

315314
def reset_execution_trackers(self):
@@ -324,7 +323,6 @@ def reset_execution_trackers(self):
324323
self.output_hook_stack = collections.defaultdict(list)
325324
# our front-end mimicing Output widgets
326325
self.comm_objects = {}
327-
self.state = ExecutionState.NOTHING
328326
self.state_history = []
329327
self.current_cell = None
330328
self.current_cell_index = -1

0 commit comments

Comments
 (0)