@@ -1551,6 +1551,7 @@ class TupleSchema(TypedDict, total=False):
15511551 variadic_item_index : int
15521552 min_length : int
15531553 max_length : int
1554+ fail_fast : bool
15541555 strict : bool
15551556 ref : str
15561557 metadata : Any
@@ -1563,6 +1564,7 @@ def tuple_schema(
15631564 variadic_item_index : int | None = None ,
15641565 min_length : int | None = None ,
15651566 max_length : int | None = None ,
1567+ fail_fast : bool | None = None ,
15661568 strict : bool | None = None ,
15671569 ref : str | None = None ,
15681570 metadata : Any = None ,
@@ -1587,6 +1589,7 @@ def tuple_schema(
15871589 variadic_item_index: The index of the schema in `items_schema` to be treated as variadic (following PEP 646)
15881590 min_length: The value must be a tuple with at least this many items
15891591 max_length: The value must be a tuple with at most this many items
1592+ fail_fast: Stop validation on the first error
15901593 strict: The value must be a tuple with exactly this many items
15911594 ref: Optional unique identifier of the schema, used to reference the schema in other places
15921595 metadata: Any other information you want to include with the schema, not used by pydantic-core
@@ -1598,6 +1601,7 @@ def tuple_schema(
15981601 variadic_item_index = variadic_item_index ,
15991602 min_length = min_length ,
16001603 max_length = max_length ,
1604+ fail_fast = fail_fast ,
16011605 strict = strict ,
16021606 ref = ref ,
16031607 metadata = metadata ,
@@ -1610,6 +1614,7 @@ class SetSchema(TypedDict, total=False):
16101614 items_schema : CoreSchema
16111615 min_length : int
16121616 max_length : int
1617+ fail_fast : bool
16131618 strict : bool
16141619 ref : str
16151620 metadata : Any
@@ -1621,6 +1626,7 @@ def set_schema(
16211626 * ,
16221627 min_length : int | None = None ,
16231628 max_length : int | None = None ,
1629+ fail_fast : bool | None = None ,
16241630 strict : bool | None = None ,
16251631 ref : str | None = None ,
16261632 metadata : Any = None ,
@@ -1643,6 +1649,7 @@ def set_schema(
16431649 items_schema: The value must be a set with items that match this schema
16441650 min_length: The value must be a set with at least this many items
16451651 max_length: The value must be a set with at most this many items
1652+ fail_fast: Stop validation on the first error
16461653 strict: The value must be a set with exactly this many items
16471654 ref: optional unique identifier of the schema, used to reference the schema in other places
16481655 metadata: Any other information you want to include with the schema, not used by pydantic-core
@@ -1653,6 +1660,7 @@ def set_schema(
16531660 items_schema = items_schema ,
16541661 min_length = min_length ,
16551662 max_length = max_length ,
1663+ fail_fast = fail_fast ,
16561664 strict = strict ,
16571665 ref = ref ,
16581666 metadata = metadata ,
@@ -1665,6 +1673,7 @@ class FrozenSetSchema(TypedDict, total=False):
16651673 items_schema : CoreSchema
16661674 min_length : int
16671675 max_length : int
1676+ fail_fast : bool
16681677 strict : bool
16691678 ref : str
16701679 metadata : Any
@@ -1676,6 +1685,7 @@ def frozenset_schema(
16761685 * ,
16771686 min_length : int | None = None ,
16781687 max_length : int | None = None ,
1688+ fail_fast : bool | None = None ,
16791689 strict : bool | None = None ,
16801690 ref : str | None = None ,
16811691 metadata : Any = None ,
@@ -1698,6 +1708,7 @@ def frozenset_schema(
16981708 items_schema: The value must be a frozenset with items that match this schema
16991709 min_length: The value must be a frozenset with at least this many items
17001710 max_length: The value must be a frozenset with at most this many items
1711+ fail_fast: Stop validation on the first error
17011712 strict: The value must be a frozenset with exactly this many items
17021713 ref: optional unique identifier of the schema, used to reference the schema in other places
17031714 metadata: Any other information you want to include with the schema, not used by pydantic-core
@@ -1708,6 +1719,7 @@ def frozenset_schema(
17081719 items_schema = items_schema ,
17091720 min_length = min_length ,
17101721 max_length = max_length ,
1722+ fail_fast = fail_fast ,
17111723 strict = strict ,
17121724 ref = ref ,
17131725 metadata = metadata ,
0 commit comments