File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -786,7 +786,8 @@ class Model(BaseModel):
786
786
x: MyInt
787
787
```
788
788
789
- Read more about it on the [ Composing types via ` Annotated ` ] ( ../usage/types/custom/#composing-types-via-annotated ) section.
789
+ Read more about it in the [ Composing types via ` Annotated ` ] ( ./usage/types/custom.md#composing-types-via-annotated )
790
+ docs.
790
791
791
792
For ` ConstrainedStr ` you can use [ ` StringConstraints ` ] [ pydantic.types.StringConstraints ] instead.
792
793
@@ -802,7 +803,7 @@ For `ConstrainedStr` you can use [`StringConstraints`][pydantic.types.StringCons
802
803
| ` pydantic.error_wrappers.ValidationError ` | ` pydantic.ValidationError ` |
803
804
| ` pydantic.utils.to_camel ` | ` pydantic.alias_generators.to_pascal ` |
804
805
| ` pydantic.utils.to_lower_camel ` | ` pydantic.alias_generators.to_camel ` |
805
- | ` pydantic.PyObject ` | [ ` pydantic.ImportString ` ] ( usage/types/string_types/ #importstring ) |
806
+ | ` pydantic.PyObject ` | [ ` pydantic.ImportString ` ] ( usage/types/string_types.md #importstring ) |
806
807
807
808
## Deprecated and moved in Pydantic V2
808
809
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ class MyDataclass2:
138
138
1 . You can read more about ` validate_assignment ` in [ model_config] ( model_config.md#validate-assignment ) .
139
139
140
140
!!! note
141
- Pydantic dataclasses do not support [ ` extra='allow' ` ] ( model_config/ #extra-attributes ) , where extra fields passed
141
+ Pydantic dataclasses do not support [ ` extra='allow' ` ] ( model_config.md #extra-attributes ) , where extra fields passed
142
142
to the initializer would be stored as extra attributes on the dataclass.
143
143
144
144
`extra='ignore'` is still supported for the purpose of ignoring
You can’t perform that action at this time.
0 commit comments