Skip to content

Commit b307401

Browse files
committed
fix: update/generate new docs after fixing/tweaking them.
1 parent 80eef6c commit b307401

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ try:
108108
# `some_field` is a required field.
109109
MyModel()
110110
except ValidationError as e:
111-
print(f'Pydantic will state `some_field` + `value` are required: {e}')
111+
print(f'Pydantic will state `some_field` is required: {e}')
112112
else:
113113
raise Exception('Pydantic should have required `some_field`.')
114114
```

tests/test_doc_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,6 @@ class MyModel(PartialModel):
180180
# `some_field` is a required field.
181181
MyModel()
182182
except ValidationError as e:
183-
print(f'Pydantic will state `some_field` + `value` are required: {e}')
183+
print(f'Pydantic will state `some_field` is required: {e}')
184184
else:
185185
raise Exception('Pydantic should have required `some_field`.')

0 commit comments

Comments
 (0)