@@ -85,17 +85,17 @@ print(Settings().model_dump())
85
85
1 . The environment variable name is overridden using ` validation_alias ` . In this case, the environment variable
86
86
` my_auth_key ` will be read instead of ` auth_key ` .
87
87
88
- Check the [ ` Field ` documentation] ( ../ fields/ ) for more information.
88
+ Check the [ ` Field ` documentation] ( fields.md ) for more information.
89
89
90
90
2 . The environment variable name is overridden using ` alias ` . In this case, the environment variable
91
91
` my_api_key ` will be used for both validation and serialization instead of ` api_key ` .
92
92
93
- Check the [ ` Field ` documentation] ( ../ fields/ #field-aliases) for more information.
93
+ Check the [ ` Field ` documentation] ( fields.md #field-aliases ) for more information.
94
94
95
95
3 . The ` AliasChoices ` class allows to have multiple environment variable names for a single field.
96
96
The first environment variable that is found will be used.
97
97
98
- Check the [ ` AliasChoices ` ] ( ../ fields/ #aliaspath-and-aliaschoices) for more information.
98
+ Check the [ ` AliasChoices ` ] ( fields.md #aliaspath-and-aliaschoices ) for more information.
99
99
100
100
4 . The ` ImportString ` class allows to import an object from a string.
101
101
In this case, the environment variable ` special_function ` will be read and the function ` math.cos ` will be imported.
@@ -131,7 +131,7 @@ There are two ways to do this:
131
131
* Using ` Field(alias=...) ` (see ` api_key ` above)
132
132
* Using ` Field(validation_alias=...) ` (see ` auth_key ` above)
133
133
134
- Check the [ ` Field ` aliases documentation] ( ../ fields#field-aliases) for more information about aliases.
134
+ Check the [ ` Field ` aliases documentation] ( fields.md #field-aliases ) for more information about aliases.
135
135
136
136
` env_prefix ` does not apply to fields with alias. It means the environment variable name is the same
137
137
as field alis:
0 commit comments