Home
last modified time | relevance | path

Searched refs:asyncio (Results 1 – 2 of 2) sorted by last modified time

/unit/src/python/
H A Dnxt_python_asgi.c205 PyObject *asyncio, *loop, *event_loop, *obj; in nxt_python_asgi_ctx_data_alloc() local
234 asyncio = PyImport_ImportModule("asyncio"); in nxt_python_asgi_ctx_data_alloc()
235 if (nxt_slow_path(asyncio == NULL)) { in nxt_python_asgi_ctx_data_alloc()
243 event_loop = PyDict_GetItemString(PyModule_GetDict(asyncio), in nxt_python_asgi_ctx_data_alloc()
306 Py_DECREF(asyncio); in nxt_python_asgi_ctx_data_alloc()
317 Py_XDECREF(asyncio); in nxt_python_asgi_ctx_data_alloc()
/unit/test/python/delayed/
H A Dasgi.py1 import asyncio
25 loop = asyncio.get_event_loop()