Skip to content

Commit

Permalink
add link
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Nov 24, 2023
1 parent ba22716 commit fb7dd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2819,6 +2819,6 @@ def __get_pydantic_core_schema__(cls, source_type: Any, handler: GetCoreSchemaHa
"""
When used as an item in a list, the key type in a dict, optional values of a TypedDict, etc.
this annotation omits the item from the iteration if there is any error validating it.
That is, instead of a ValidationError being propagated up and the entire iterable being discarded
That is, instead of a [`ValidationError`][pydantic_core.ValidationError] being propagated up and the entire iterable being discarded
any invalid items are discarded and the valid ones are returned.
"""

0 comments on commit fb7dd1d

Please sign in to comment.