def METHOD_NAME(self, section_name, option_name: str, value: str) -> None:
    if self._read_only:
        raise RuntimeError("CLIConfig was instantiated with read_only.")
    section_name = section_name
    if not self.parser.has_section(section_name):
        self.parser.add_section(section_name)
    self.parser.set(section_name, option_name, value)