Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nonebot/nonebot2
/ _validate_1
Method
_validate_1
tests/test_compat.py:156–158 ·
view source on GitHub ↗
(cls, v: Any)
Source
from the content-addressed store, hash-verified
154
155
@classmethod
156
def
_validate_1(cls, v: Any) -> Any:
157
called.append(1)
158
return
v
159
160
@classmethod
161
def
_validate_2(cls, v: Any) -> Any:
Callers
nothing calls this directly
Calls
1
append
Method · 0.80
Tested by
no test coverage detected