@@ -1399,6 +1399,7 @@ class ListSchema(TypedDict, total=False):
13991399 items_schema : CoreSchema
14001400 min_length : int
14011401 max_length : int
1402+ fail_fast : bool
14021403 strict : bool
14031404 ref : str
14041405 metadata : Any
@@ -1410,6 +1411,7 @@ def list_schema(
14101411 * ,
14111412 min_length : int | None = None ,
14121413 max_length : int | None = None ,
1414+ fail_fast : bool | None = None ,
14131415 strict : bool | None = None ,
14141416 ref : str | None = None ,
14151417 metadata : Any = None ,
@@ -1430,6 +1432,7 @@ def list_schema(
14301432 items_schema: The value must be a list of items that match this schema
14311433 min_length: The value must be a list with at least this many items
14321434 max_length: The value must be a list with at most this many items
1435+ fail_fast: Stop validation on the first error
14331436 strict: The value must be a list with exactly this many items
14341437 ref: optional unique identifier of the schema, used to reference the schema in other places
14351438 metadata: Any other information you want to include with the schema, not used by pydantic-core
@@ -1440,6 +1443,7 @@ def list_schema(
14401443 items_schema = items_schema ,
14411444 min_length = min_length ,
14421445 max_length = max_length ,
1446+ fail_fast = fail_fast ,
14431447 strict = strict ,
14441448 ref = ref ,
14451449 metadata = metadata ,
@@ -1547,6 +1551,7 @@ class TupleSchema(TypedDict, total=False):
15471551 variadic_item_index : int
15481552 min_length : int
15491553 max_length : int
1554+ fail_fast : bool
15501555 strict : bool
15511556 ref : str
15521557 metadata : Any
@@ -1559,6 +1564,7 @@ def tuple_schema(
15591564 variadic_item_index : int | None = None ,
15601565 min_length : int | None = None ,
15611566 max_length : int | None = None ,
1567+ fail_fast : bool | None = None ,
15621568 strict : bool | None = None ,
15631569 ref : str | None = None ,
15641570 metadata : Any = None ,
@@ -1583,6 +1589,7 @@ def tuple_schema(
15831589 variadic_item_index: The index of the schema in `items_schema` to be treated as variadic (following PEP 646)
15841590 min_length: The value must be a tuple with at least this many items
15851591 max_length: The value must be a tuple with at most this many items
1592+ fail_fast: Stop validation on the first error
15861593 strict: The value must be a tuple with exactly this many items
15871594 ref: Optional unique identifier of the schema, used to reference the schema in other places
15881595 metadata: Any other information you want to include with the schema, not used by pydantic-core
@@ -1594,6 +1601,7 @@ def tuple_schema(
15941601 variadic_item_index = variadic_item_index ,
15951602 min_length = min_length ,
15961603 max_length = max_length ,
1604+ fail_fast = fail_fast ,
15971605 strict = strict ,
15981606 ref = ref ,
15991607 metadata = metadata ,
@@ -1606,6 +1614,7 @@ class SetSchema(TypedDict, total=False):
16061614 items_schema : CoreSchema
16071615 min_length : int
16081616 max_length : int
1617+ fail_fast : bool
16091618 strict : bool
16101619 ref : str
16111620 metadata : Any
@@ -1617,6 +1626,7 @@ def set_schema(
16171626 * ,
16181627 min_length : int | None = None ,
16191628 max_length : int | None = None ,
1629+ fail_fast : bool | None = None ,
16201630 strict : bool | None = None ,
16211631 ref : str | None = None ,
16221632 metadata : Any = None ,
@@ -1639,6 +1649,7 @@ def set_schema(
16391649 items_schema: The value must be a set with items that match this schema
16401650 min_length: The value must be a set with at least this many items
16411651 max_length: The value must be a set with at most this many items
1652+ fail_fast: Stop validation on the first error
16421653 strict: The value must be a set with exactly this many items
16431654 ref: optional unique identifier of the schema, used to reference the schema in other places
16441655 metadata: Any other information you want to include with the schema, not used by pydantic-core
@@ -1649,6 +1660,7 @@ def set_schema(
16491660 items_schema = items_schema ,
16501661 min_length = min_length ,
16511662 max_length = max_length ,
1663+ fail_fast = fail_fast ,
16521664 strict = strict ,
16531665 ref = ref ,
16541666 metadata = metadata ,
@@ -1661,6 +1673,7 @@ class FrozenSetSchema(TypedDict, total=False):
16611673 items_schema : CoreSchema
16621674 min_length : int
16631675 max_length : int
1676+ fail_fast : bool
16641677 strict : bool
16651678 ref : str
16661679 metadata : Any
@@ -1672,6 +1685,7 @@ def frozenset_schema(
16721685 * ,
16731686 min_length : int | None = None ,
16741687 max_length : int | None = None ,
1688+ fail_fast : bool | None = None ,
16751689 strict : bool | None = None ,
16761690 ref : str | None = None ,
16771691 metadata : Any = None ,
@@ -1694,6 +1708,7 @@ def frozenset_schema(
16941708 items_schema: The value must be a frozenset with items that match this schema
16951709 min_length: The value must be a frozenset with at least this many items
16961710 max_length: The value must be a frozenset with at most this many items
1711+ fail_fast: Stop validation on the first error
16971712 strict: The value must be a frozenset with exactly this many items
16981713 ref: optional unique identifier of the schema, used to reference the schema in other places
16991714 metadata: Any other information you want to include with the schema, not used by pydantic-core
@@ -1704,6 +1719,7 @@ def frozenset_schema(
17041719 items_schema = items_schema ,
17051720 min_length = min_length ,
17061721 max_length = max_length ,
1722+ fail_fast = fail_fast ,
17071723 strict = strict ,
17081724 ref = ref ,
17091725 metadata = metadata ,
0 commit comments