MCPcopy
hub / github.com/circlemind-ai/fast-graphrag / target

Method target

tests/_utils_test.py:22–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21 def test_get_event_loop_in_sub_thread(self):
22 def target():
23 loop = get_event_loop()
24 self.assertIsInstance(loop, asyncio.AbstractEventLoop)
25 loop.close()
26
27 thread = threading.Thread(target=target)
28 thread.start()

Callers

nothing calls this directly

Calls 1

get_event_loopFunction · 0.90

Tested by

no test coverage detected