Function pyo3_asyncio::async_std::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.