def METHOD_NAME(self, key, value):
    if value == None:
        self.unset_config_key(key)
        return
    proc = self.startProcess(
        command=self.sudo,
        arguments=[self.tedge, "config", "set", key, value],
        stdouterr="tedge_set_config_key",
        expectedExitStatus="==0",
    )