Skip to content

Commit 5121777

Browse files
Fix typo in Field function docstring (#4931) (#4932)
Co-authored-by: Daniel Kjellid <42611331+danielkjellid@users.noreply.github.com>
1 parent a504667 commit 5121777

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pydantic/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def Field(
287287
:param unique_items: only applies to lists, requires the field not to have duplicated
288288
elements. The schema will have a ``uniqueItems`` validation keyword
289289
:param min_length: only applies to strings, requires the field to have a minimum length. The
290-
schema will have a ``maximum`` validation keyword
290+
schema will have a ``minLength`` validation keyword
291291
:param max_length: only applies to strings, requires the field to have a maximum length. The
292292
schema will have a ``maxLength`` validation keyword
293293
:param allow_mutation: a boolean which defaults to True. When False, the field raises a TypeError if the field is

0 commit comments

Comments
 (0)