MCPcopy Index your code
hub / github.com/nonebot/nonebot2 / run

Method run

nonebot/drivers/none.py:57–60  ·  view source on GitHub ↗

启动 none driver

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

55
56 @override
57 def run(self, *args, **kwargs):
58 """启动 none driver"""
59 super().run(*args, **kwargs)
60 anyio.run(self._serve)
61
62 async def _serve(self):
63 async with anyio.create_task_group() as driver_tg:

Callers 3

runFunction · 0.45
test_runFunction · 0.45
test_runFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_runFunction · 0.36
test_runFunction · 0.36