Skip to content

Commit

Permalink
update docstring of union_schema
Browse files Browse the repository at this point in the history
  • Loading branch information
realDragonium committed Mar 31, 2023
1 parent 2cb9b1d commit 8102d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic_core/core_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -2209,7 +2209,7 @@ def union_schema(
```
Args:
*choices: The schemas to match
choices: The schemas to match
auto_collapse: whether to automatically collapse unions with one element to the inner validator, default true
custom_error_type: The custom error type to use if the validation fails
custom_error_message: The custom error message to use if the validation fails
Expand Down

0 comments on commit 8102d72

Please sign in to comment.