🤖 自动格式化代码 [skip ci]

This commit is contained in:
github-actions[bot]
2025-07-11 05:19:35 +00:00
parent 5f0a0c0e3a
commit 1bff478fcc
12 changed files with 15 additions and 13 deletions

View File

@@ -94,7 +94,7 @@ class ConfigBase:
raise TypeError(
f"Expected {len(field_type_args)} items for {field_type.__name__}, got {len(value)}"
)
return tuple(cls._convert_field(item, arg) for item, arg in zip(value, field_type_args))
return tuple(cls._convert_field(item, arg) for item, arg in zip(value, field_type_args, strict=False))
if field_origin_type is dict:
# 检查提供的value是否为dict