From 048ff002c7ed41ead8673064037d333bac3968bc Mon Sep 17 00:00:00 2001 From: Michael Makukha Date: Wed, 28 Aug 2024 21:03:25 +0300 Subject: [PATCH] Fix typo --- pydantic_settings/sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydantic_settings/sources.py b/pydantic_settings/sources.py index 7c56c63..28b2244 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: