Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nonebot/nonebot2
/ _startup2
Function
_startup2
tests/test_driver.py:50–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
49
@driver.on_startup
50
async
def
_startup2():
51
assert start_log == [1]
52
start_log.append(2)
53
54
@adapter.on_ready
55
def
_ready1():
Callers
nothing calls this directly
Calls
1
append
Method · 0.80
Tested by
no test coverage detected