diff --git a/pydantic_settings/sources.py b/pydantic_settings/sources.py index 4e6966b..1f34ed3 100644 --- a/pydantic_settings/sources.py +++ b/pydantic_settings/sources.py @@ -642,7 +642,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): - # pathss reversed to match the last-wins behaviour of `env_file` + # paths reversed to match the last-wins behaviour of `env_file` for secrets_path in reversed(self.secrets_paths): path = self.find_case_path(secrets_path, env_name, self.case_sensitive) if not path: