We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ef0387 commit ab34145Copy full SHA for ab34145
ipykernel/inprocess/client.py
@@ -12,7 +12,7 @@
12
# -----------------------------------------------------------------------------
13
14
15
-from typing import Any
+from typing import Any, Optional
16
17
from jupyter_client.client import KernelClient
18
from jupyter_client.clientabc import KernelClientABC
@@ -110,8 +110,8 @@ async def execute( # type:ignore [override]
110
code: str,
111
silent: bool = False,
112
store_history: bool = True,
113
- user_expressions: dict[str, Any] | None = None,
114
- allow_stdin: bool | None = None,
+ user_expressions: Optional[dict[str, Any]] = None,
+ allow_stdin: Optional[bool] = None,
115
stop_on_error: bool = True,
116
) -> str:
117
"""Execute code on the client."""
0 commit comments