Skip to content

Commit 2572a18

Browse files
author
Kevin Kirsche
authored
fix typos in pydantic settings module (#124)
1 parent b7478d6 commit 2572a18

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pydantic_settings/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class BaseSettings(BaseModel):
4444
This is useful in production for secrets you do not wish to save in code, it plays nicely with docker(-compose),
4545
Heroku and any 12 factor app design.
4646
47-
All the bellow attributes can be set via `model_config`.
47+
All the below attributes can be set via `model_config`.
4848
4949
Args:
5050
_case_sensitive: Whether environment variables names should be read with case-sensitivity. Defaults to `None`.

pydantic_settings/sources.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def get_field_value(self, field: FieldInfo, field_name: str) -> tuple[Any, str,
4747
"""
4848
Gets the value, the key for model creation, and a flag to determine whether value is complex.
4949
50-
This is an abstract method that should be overrided in every settings source classes.
50+
This is an abstract method that should be overridden in every settings source classes.
5151
5252
Args:
5353
field: The field.
@@ -324,7 +324,7 @@ def get_field_value(self, field: FieldInfo, field_name: str) -> tuple[Any, str,
324324
for field_key, env_name, value_is_complex in self._extract_field_info(field, field_name):
325325
path = self.find_case_path(self.secrets_path, env_name, self.case_sensitive)
326326
if not path:
327-
# path does not exist, we curently don't return a warning for this
327+
# path does not exist, we currently don't return a warning for this
328328
continue
329329

330330
if path.is_file():

0 commit comments

Comments
 (0)