From 09e8c05902112d81fd5f93d7ceaa43386017ec7e 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 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: