(
path: str, config_layers: list[tuple[Path, dict[str, Any]]]
)
| 188 | |
| 189 | |
| 190 | def lookup_layered_value( |
| 191 | path: str, config_layers: list[tuple[Path, dict[str, Any]]] |
| 192 | ) -> tuple[bool, Any]: |
| 193 | for _config_path, config in reversed(config_layers): |
| 194 | found, actual = lookup_dotted(config, path) |
| 195 | if found: |
| 196 | return True, actual |
| 197 | return False, None |
| 198 | |
| 199 | |
| 200 | def iter_config_views( |
no test coverage detected