idf_build_apps.vendors package
Submodules
Partially copied from https://github.com/pydantic/pydantic-settings v2.5.2 since python 3.7 version got dropped at pydantic-settings 2.1.0 but the feature we need introduced in 2.2.0
For contributing history please refer to the original github page For the full license text refer to https://github.com/pydantic/pydantic-settings/blob/9b73e924cab136d876907af0c6836dcca09ac35c/LICENSE
Modifications: - use toml instead of tomli when python < 3.11 - stop using global variables - fix some warnings - recursively find TOML file.
- class idf_build_apps.vendors.pydantic_sources.TomlConfigSettingsSource(settings_cls: Type[BaseSettings], toml_file: Path | None = PosixPath('.'), search_depth: int = 9223372036854775807)
Bases:
InitSettingsSource,ConfigFileSourceMixinA source class that loads variables from a TOML file
- class idf_build_apps.vendors.pydantic_sources.PyprojectTomlConfigSettingsSource(settings_cls: Type[BaseSettings], toml_file: Path | None = None, search_depth: int = 9223372036854775807, table_header: Tuple[str, ...] = ('tool', 'idf-build-apps'))
Bases:
TomlConfigSettingsSourceA source class that loads variables from a pyproject.toml file.