Skip to content

Commit 3d6c304

Browse files
authored
Merge pull request #35 from joshorr/josho/better-mypy-support-and-auto-off-by-default
fix: update/generate new docs after fixing/tweaking them.
2 parents a73e36c + b307401 commit 3d6c304

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)