It ended up being a bit of a hack. You can see the code here (https://github.com/activityhistory/nbcomet/blob/master/nbcomet/static/main.js#L333).
Essentailly if it is a run-cell action, I listen for the kernel_idle.Kernel event. On Thursday, October 5, 2017 at 6:05:41 AM UTC-7, Jake Stewart wrote: > > > Hi Adam, > > Did you ever get a workaround for this for earlier versions of Jupyter? > > Thanks > > Jake > > On Thursday, April 6, 2017 at 7:34:51 PM UTC+1, Adam Rule wrote: >> >> Just to close the loop, finished_execute.CodeCell executes just fine in >> v. 5.0.0, so I can listen for that before scraping the notebook. I'm going >> to need to find another way to get the cell data for older versions of the >> notebook, though. >> >> On Wednesday, April 5, 2017 at 8:58:33 AM UTC-7, takowl wrote: >>> >>> On 5 April 2017 at 16:55, Adam Rule <[email protected]> wrote: >>> >>>> I'm running version 4.1.0 so I'll update to 5.0 and check if >>>> finished_execute.CodeCell gets thrown. If not, I'll file an issue. >>>> >>> >>> Thanks Adam :-) >>> >> -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/1d555fa4-0ec2-4366-ba27-0131316fc9ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
