bundles / ipykernel 7.3.0 / ipykernel / utils / _async_in_context
function
ipykernel.utils:_async_in_context
source: /ipykernel/utils.py:43
Signature
def _async_in_context(f: Callable[..., t.Coroutine[T, U, V]], context: Context | None = None) → Callable[..., t.Coroutine[T, U, V]]Summary
Wrapper to run a coroutine in a persistent ContextVar Context.
Aliases
ipykernel.kernelbase._async_in_context