def METHOD_NAME(
    self, scope: ConfigScope = ConfigScope.ALL
) -> Mapping[str, Mapping[str, _ParamType]]:
    return {
        section: {name: val[0] for name, val in body.items() if val[1] & scope}
        for section, body in self._config_spec.items()
    }