增加环绕侦察场景适配

This commit is contained in:
2026-01-08 15:44:38 +08:00
parent 3eba1f962b
commit 10c5bb5a8a
5441 changed files with 40219 additions and 379695 deletions

View File

@@ -316,7 +316,7 @@ def _build_strict_cls_from_typed_dict(schema: type[TypedDictType]) -> Type:
base, *meta = get_args(value)
if not _is_required_or_notrequired(base):
base = NotRequired[base]
type_hints[key] = Annotated[tuple([base] + list(meta))]
type_hints[key] = Annotated[tuple([base] + list(meta))] # type: ignore
elif not _is_required_or_notrequired(value):
type_hints[key] = NotRequired[value]