Feature: 优化依赖注入在 pydantic v2 下的性能 #897
Annotations
2 errors
Pyright Lint (pydantic-v1):
nonebot/compat.py#L321
Method "validate" overrides class "ModelField" in an incompatible manner
Positional parameter count mismatch; base method has 5, but override has 2
Parameter 2 name mismatch: base parameter is named "v", override parameter is named "value"
Parameter 3 mismatch: base parameter "values" is keyword parameter, override parameter is position-only
Parameter "loc" is missing in override
Parameter "cls" is missing in override (reportIncompatibleMethodOverride)
|
Pyright Lint (pydantic-v1)
1 error
|