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