Function pyo3_asyncio::generic::get_current_locals
source · pub fn get_current_locals<R>(py: Python<'_>) -> PyResult<TaskLocals>where
R: ContextExt,
Expand description
Either copy the task locals from the current task OR get the current running loop and contextvars from Python.