🎨 格式化代码

This commit is contained in:
HibiKier 2025-06-17 17:54:36 +08:00
parent bb3a7d9bc0
commit 17dd2bb22e

View File

@ -74,7 +74,7 @@ def parse_as(type_: type[T], obj: Any) -> T:
return parse_obj_as(type_, obj)
else:
from pydantic import TypeAdapter
from pydantic import TypeAdapter # type: ignore
return TypeAdapter(type_).validate_python(obj)