app.commands.execute("notebook:run-all-below") does not work if cell collapsed
pixelrakete opened this issue · comments
pixelrakete commented
If I use this code and have the cell collapsed, it doesn't work. Only if the cell code is visible.
import asyncio
app = JupyterFrontEnd()
out = Output()
async def init():
await app.ready()
app.commands.execute("notebook:move-cursor-down")
app.commands.execute("notebook:run-all-below")
out.append_stdout(cmds)
def on_button_clicked(b):
global channel_name
channel_name = cn.value
cn.close()
button.close()
asyncio.create_task(init())
out
# start check
button.on_click(on_button_clicked)