(config: dict[str, Any], path: str)
| 179 | |
| 180 | |
| 181 | def lookup_dotted(config: dict[str, Any], path: str) -> tuple[bool, Any]: |
| 182 | current: Any = config |
| 183 | for part in path.split("."): |
| 184 | if not isinstance(current, dict) or part not in current: |
| 185 | return False, None |
| 186 | current = current[part] |
| 187 | return True, current |
| 188 | |
| 189 | |
| 190 | def lookup_layered_value( |
no outgoing calls
no test coverage detected