Fix: 屏蔽 pydantic 2.10.0 #1183
Annotations
2 errors
Run Pyright:
nonebot/drivers/aiohttp.py#L177
Argument of type "float | Literal[10]" cannot be assigned to parameter "timeout" of type "ClientWSTimeout | _SENTINEL" in function "ws_connect"
Type "float | Literal[10]" is not assignable to type "ClientWSTimeout | _SENTINEL"
Type "float" is not assignable to type "ClientWSTimeout | _SENTINEL"
"float" is not assignable to "ClientWSTimeout"
"float" is not assignable to "_SENTINEL" (reportArgumentType)
|
Run Pyright
1 error
|
Loading