Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos in pydantic settings module #124

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pydantic_settings/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class BaseSettings(BaseModel):
This is useful in production for secrets you do not wish to save in code, it plays nicely with docker(-compose),
Heroku and any 12 factor app design.

All the bellow attributes can be set via `model_config`.
All the below attributes can be set via `model_config`.

Args:
_case_sensitive: Whether environment variables names should be read with case-sensitivity. Defaults to `None`.
Expand Down
4 changes: 2 additions & 2 deletions pydantic_settings/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_field_value(self, field: FieldInfo, field_name: str) -> tuple[Any, str,
"""
Gets the value, the key for model creation, and a flag to determine whether value is complex.

This is an abstract method that should be overrided in every settings source classes.
This is an abstract method that should be overridden in every settings source classes.

Args:
field: The field.
Expand Down Expand Up @@ -324,7 +324,7 @@ def get_field_value(self, field: FieldInfo, field_name: str) -> tuple[Any, str,
for field_key, env_name, value_is_complex in self._extract_field_info(field, field_name):
path = self.find_case_path(self.secrets_path, env_name, self.case_sensitive)
if not path:
# path does not exist, we curently don't return a warning for this
# path does not exist, we currently don't return a warning for this
continue

if path.is_file():
Expand Down