Skip to content

Commit

Permalink
docs: Adjust doc, it's actually a tuple that can be empty (#12)
Browse files Browse the repository at this point in the history
By: Christian Hattemer <[email protected]>
  • Loading branch information
KrilleGH authored Jan 22, 2025
1 parent 83c1176 commit 61e8e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic_strict_partial/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def create_partial_model(
:param model: The model class to create a partial model from.
:param optional_fields: The fields to make optional.
If None, all fields will be made optional.
If empty, all fields will be made optional.
:param required_fields: The fields to make required.
If None, no fields will be made required.
:param default_value: The default value to use for optional fields.
Expand Down

0 comments on commit 61e8e18

Please sign in to comment.