fix(proxy): mark validation error TypedDict fields ReadOnly

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
ryan 2026-09-14 23:09:04 +00:00
parent ca04b03c2c
commit b0acda2825

View file

@ -1788,9 +1788,9 @@ class _ExceptionRow(TypedDict, total=False):
class _ValidationErrorDetail(TypedDict):
type: str
loc: tuple[int | str, ...]
msg: str
type: ReadOnly[str]
loc: ReadOnly[tuple[int | str, ...]]
msg: ReadOnly[str]
def _is_length_error_of_rejected_items(error: _ValidationErrorDetail, errors: Sequence[_ValidationErrorDetail]) -> bool: