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 7e26967 commit af5ba66Copy full SHA for af5ba66
jupyter_server/utils.py
@@ -181,9 +181,11 @@ def _check_pid_posix(pid):
181
182
183
async def run_sync_in_loop(maybe_async):
184
- """**DEPRECATED**: Use ``ensure_async`` instead."""
+ """**DEPRECATED**: Use ``ensure_async`` from jupyter_core instead."""
185
warnings.warn(
186
- "run_sync_in_loop is deprecated, use 'ensure_async'", DeprecationWarning, stacklevel=2
+ "run_sync_in_loop is deprecated since Jupyter Server 2.0, use 'ensure_async' from jupyter_core instead",
187
+ DeprecationWarning,
188
+ stacklevel=2,
189
)
190
return ensure_async(maybe_async)
191
0 commit comments