File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 108108 # `some_field` is a required field.
109109 MyModel()
110110except 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} ' )
112112else :
113113 raise Exception (' Pydantic should have required `some_field`.' )
114114```
Original file line number Diff line number Diff 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`.' )
You can’t perform that action at this time.
0 commit comments