MCPcopy Create free account
hub / github.com/rthalley/dnspython / _get_running_loop

Function _get_running_loop

dns/_asyncio_backend.py:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16
17def _get_running_loop():
18 try:
19 return asyncio.get_running_loop()
20 except AttributeError: # pragma: no cover
21 return asyncio.get_event_loop()
22
23
24class _DatagramProtocol:

Callers 2

recvfromMethod · 0.85
make_socketMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…