Skip to content

Commit

Permalink
Fix typo in InitErrorDetails.type docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Feb 25, 2025
1 parent 6a31b3b commit 5a9d3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pydantic_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class ErrorDetails(_TypedDict):

class InitErrorDetails(_TypedDict):
type: str | PydanticCustomError
"""The type of error that occurred, this should a "slug" identifier that changes rarely or never."""
"""The type of error that occurred, this be should a "slug" identifier that changes rarely or never."""
loc: _NotRequired[tuple[int | str, ...]]
"""Tuple of strings and ints identifying where in the schema the error occurred."""
input: _Any
Expand Down

0 comments on commit 5a9d3ec

Please sign in to comment.