We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally filed by ppeetteerrs here #11525 Create a Python nb with the following cells
from asyncio import sleep, create_task, gather from typing import Awaitable, List from IPython.display import display from IPython import get_ipython def get_msg_id() -> str: return get_ipython().kernel.get_parent()["header"]['msg_id'] async def say_hi_to_after(x:str, tasks: Awaitable[None]): current_cell_msg_id = get_msg_id() await tasks get_ipython().kernel.get_parent()["header"]["msg_id"] = x display("HI") get_ipython().kernel.get_parent()["header"]["msg_id"] = current_cell_msg_id
x = get_msg_id()
y = say_hi_to_after(x, sleep(2)) create_task(y);
z = say_hi_to_after(x, sleep(3)) create_task(z);
Steps:
Run All
handleExecution
Shift+Enter
In both cases we should see HI displayed twice as the output for the second cell.
HI
The text was updated successfully, but these errors were encountered:
DonJayamanne
Successfully merging a pull request may close this issue.
Originally filed by ppeetteerrs here #11525
Create a Python nb with the following cells
Cell1
Cell2
Cell3
Cell4
Steps:
Run All
(onehandleExecution
call with multiple cells)Shift+Enter
quickly to run all the cells consecutively (multiplehandleExecution
call with one cell each)In both cases we should see
HI
displayed twice as the output for the second cell.The text was updated successfully, but these errors were encountered: